archlinux-pkgbuilds/PKGBUILD

30 lines
767 B
Text
Raw Normal View History

2016-03-26 20:17:11 +01:00
pkgname=aurutils
2017-03-08 16:53:04 +01:00
pkgver=1.5.2
_commit=c0085c9eaf7a45eec7d64f9703d4f23d9fe1212b
2016-09-11 15:03:20 +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')
2017-03-07 16:27:42 +01:00
depends=('pacman>=5' 'git' 'jq' 'pacutils>=0.4')
2016-03-26 20:17:11 +01:00
checkdepends=('shellcheck')
makedepends=('git')
2016-12-27 20:18:16 +01:00
optdepends=('devtools: systemd-nspawn support'
2017-03-07 16:27:42 +01:00
'vifm: build file interaction'
'aria2: threaded downloads'
'parallel: threaded downloads'
'expac: aursift script'
'repose: repo-add alternative')
2016-12-27 20:18:16 +01:00
source=("$pkgname-$pkgver::git+$url#commit=$_commit")
sha256sums=('SKIP')
2016-03-26 20:17:11 +01:00
check() {
2016-03-31 04:35:29 +02:00
cd "$pkgname-$pkgver"
2016-05-16 01:56:06 +02:00
make check
2016-03-26 20:17:11 +01:00
}
package() {
2016-03-31 04:35:29 +02:00
cd "$pkgname-$pkgver"
2016-05-16 01:56:06 +02:00
make DESTDIR="$pkgdir" PREFIX="/usr" install
2016-03-26 20:17:11 +01:00
}