diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..7e073666 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Anton Hvornum +# Contributor: Giancarlo Razzolini +# Contributor: demostanis worlds + +pkgbase=archinstall-git +pkgname=('archinstall-git' 'python-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/Torxed/archinstall" +license=('GPL') +depends=('python') +makedepends=('python-setuptools') + +build() { + cd "$startdir" + + python setup.py build +} + + +package_archinstall-git() { + depends=('python-archinstall-git') + conflicts=('archinstall') + cd "$startdir" + + mkdir -p "${pkgdir}/usr/bin" + + # Install a guided profile + cat - > "${pkgdir}/usr/bin/archinstall" <