2016-03-26 20:17:11 +01:00
|
|
|
pkgname=aurutils
|
2016-04-24 13:36:55 +02:00
|
|
|
pkgver=0.8.2
|
2016-04-01 04:56:08 +02:00
|
|
|
pkgrel=1
|
2016-04-01 04:57:05 +02:00
|
|
|
pkgdesc='helper tools for the arch user repository'
|
2016-03-26 20:17:11 +01:00
|
|
|
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-25 12:16:18 +02:00
|
|
|
md5sums=('afad569cbb547aa9e0a5336e1129bcb1')
|
2016-04-08 20:54:19 +02:00
|
|
|
depends=('pacman>=5.0' 'git' 'repose' 'jshon' 'pacutils' 'expac' 'aria2' 'datamash')
|
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-04-19 15:31:48 +02:00
|
|
|
LANG=C shellcheck -e 2016 -x bin/*
|
2016-03-26 20:17:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-03-31 04:35:29 +02:00
|
|
|
cd "$pkgname-$pkgver"
|
2016-04-19 15:31:48 +02:00
|
|
|
install -d "$pkgdir"/usr/{bin,share{/man/man1,{/licenses,/doc}/aurutils}}
|
2016-03-26 20:17:11 +01:00
|
|
|
|
2016-04-08 20:54:19 +02:00
|
|
|
install -m755 bin/* "$pkgdir"/usr/bin/
|
2016-03-26 20:17:11 +01:00
|
|
|
install -m644 LICENSE "$pkgdir"/usr/share/licenses/aurutils/
|
2016-04-19 15:31:48 +02:00
|
|
|
install -m644 CREDITS README "$pkgdir"/usr/share/doc/aurutils/
|
|
|
|
install -m644 doc/* "$pkgdir"/usr/share/man/man1/
|
2016-03-26 20:17:11 +01:00
|
|
|
}
|
|
|
|
|