Add primary PKGBUILD for testing the package
This commit is contained in:
parent
baaa70381b
commit
6587d9e10f
|
|
@ -0,0 +1,24 @@
|
||||||
|
# Maintainer: Anton Hvornum <anton@hvornum.se>
|
||||||
|
# Contributor: Giancarlo Razzolini <grazzolini@archlinux.org>
|
||||||
|
# Contributor: demostanis worlds <demostanis@protonmail.com>
|
||||||
|
|
||||||
|
pkgname=archinstall-git
|
||||||
|
pkgver=$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Just another guided/automated Arch Linux installer with a twist"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/archlinux/archinstall"
|
||||||
|
license=('GPL')
|
||||||
|
depends=('python')
|
||||||
|
makedepends=('python-setuptools')
|
||||||
|
conflicts=('archinstall' 'archinstall-python' 'python-archinstall-git')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$startdir"
|
||||||
|
python setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$startdir"
|
||||||
|
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue