ShadowArch/PKGBUILD

47 lines
847 B
Bash
Raw Normal View History

# Maintainer: Shikoba Kage <darkfeather@aninix.net>
pkgname=shadowarch
2019-05-06 02:52:38 -05:00
pkgver=0.1.310c778
pkgver() {
printf "0.1.""$(git rev-parse --short HEAD)"
}
pkgrel=1
epoch=
pkgdesc="AniNIX::ShadowArch \\\\ AniNIX preferred shell environment"
arch=("x86_64")
url="https://aninix.net/foundation/ShadowArch"
license=('custom')
groups=()
depends=('curl' 'grep' 'bash>=4.4' 'git>=2.13')
makedepends=('make>=4.2')
checkdepends=()
optdepends=()
provides=('shadowarch')
conflicts=()
2019-05-06 02:52:38 -05:00
replaces=('aninix-misc-scripts')
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()
prepare() {
git pull
}
build() {
make -C ..
}
check() {
printf 'quit\n\n' | make -C .. test
}
package() {
export pkgdir="${pkgdir}"
make -C .. install
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}