no makefile yet

This commit is contained in:
Alad Wenter 2016-05-02 09:47:59 +02:00
parent 5baf494029
commit 4ca8a2501f
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
# Mon May 2 07:45:44 UTC 2016
# Mon May 2 07:47:49 UTC 2016
pkgbase = aurutils
pkgdesc = helper tools for the arch user repository
pkgver = 0.8.4

View file

@ -16,10 +16,16 @@ optdepends=('devtools: build in an nspawn container'
check() {
cd "$pkgname-$pkgver"
make check
LANG=C shellcheck -e 2016 -x bin/*
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -d "$pkgdir"/usr/{bin,share{/zsh/site-functions,/man/man1,{/licenses,/doc}/aurutils}}
install -m755 bin/* "$pkgdir"/usr/bin/
install -m644 completions/* "$pkgdir"/usr/share/zsh/site-functions/
install -m644 doc/* "$pkgdir"/usr/share/man/man1/
install -m644 LICENSE "$pkgdir"/usr/share/licenses/aurutils/
install -m644 CREDITS README "$pkgdir"/usr/share/doc/aurutils/
}