2016-03-26 20:17:11 +01:00
|
|
|
pkgname=aurutils
|
2016-04-01 04:56:08 +02:00
|
|
|
pkgver=0.3.0
|
|
|
|
pkgrel=1
|
2016-03-26 20:17:11 +01:00
|
|
|
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-04-01 04:56:08 +02:00
|
|
|
md5sums=('6c24da309b25bc06cb2901059cc75817')
|
2016-03-31 04:33:15 +02:00
|
|
|
depends=('pacman>=5.0' 'git' 'repose' 'jshon' 'pacutils' '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:35:29 +02:00
|
|
|
cd "$pkgname-$pkgver"
|
2016-03-26 20:17:11 +01:00
|
|
|
shellcheck -e 2016,2174 -x ./aur* repofind
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-03-31 04:35:29 +02:00
|
|
|
cd "$pkgname-$pkgver"
|
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/
|
|
|
|
}
|
|
|
|
|