archlinux-pkgbuilds/PKGBUILD

30 lines
811 B
Text
Raw Normal View History

2016-03-26 20:17:11 +01:00
pkgname=aurutils
2016-03-31 04:16:30 +02:00
pkgver=0.2.2
2016-03-26 20:17:11 +01:00
pkgrel=1
pkgdesc='helper tools for the aur'
arch=('any')
2016-03-28 01:24:02 +02:00
url=https://github.com/AladW/aurutils
2016-03-26 20:17:11 +01:00
license=('ISC')
2016-03-28 01:24:02 +02:00
source=("https://github.com/AladW/aurutils/archive/$pkgver.tar.gz")
2016-03-31 04:16:30 +02:00
md5sums=('379d357be6d57ddf455729d3643196c8')
2016-03-26 20:21:26 +01:00
depends=('pacman>=5.0' 'git' 'repose-git' 'jshon' 'pacutils-git' 'expac' 'aria2')
2016-03-26 20:17:11 +01:00
checkdepends=('shellcheck')
makedepends=('git')
optdepends=('devtools: aurbuild -c'
'vifm: improved build file interaction')
check() {
2016-03-31 04:16:30 +02:00
cd aurutils
2016-03-26 20:17:11 +01:00
shellcheck -e 2016,2174 -x ./aur* repofind
}
package() {
2016-03-31 04:16:30 +02:00
cd aurutils
2016-03-26 20:17:11 +01:00
install -d "$pkgdir"/usr/{bin,share{/licenses,/doc}/aurutils}
install -m755 ./aur* repofind "$pkgdir"/usr/bin/
install -m644 LICENSE "$pkgdir"/usr/share/licenses/aurutils/
install -m644 CREDITS doc/* "$pkgdir"/usr/share/doc/aurutils/
}