archlinux-pkgbuilds/PKGBUILD
2016-06-10 03:08:13 +02:00

25 lines
654 B
Bash

pkgname=aurutils
pkgver=1.0.2
pkgrel=1
pkgdesc='helper tools for the arch user repository'
arch=('any')
url=https://github.com/AladW/aurutils
license=('ISC')
source=("$url/archive/$pkgver.tar.gz")
sha256sums=('4448879245aa64dec67106a005b2f618fef8ce2931a4981ca62bed571a531382')
depends=('pacman>=5' 'expac>=7' 'aria2>=1.23' 'git' 'jshon'
'repose' 'pacutils' 'datamash')
checkdepends=('shellcheck')
makedepends=('git')
optdepends=('devtools: build in an nspawn container'
'vifm: improved build file interaction')
check() {
cd "$pkgname-$pkgver"
make check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" PREFIX="/usr" install
}