archlinux-pkgbuilds/PKGBUILD

27 lines
678 B
Text
Raw Normal View History

2016-03-26 20:17:11 +01:00
pkgname=aurutils
2016-07-09 13:27:52 +02:00
pkgver=1.1.2
2016-05-16 01:56:06 +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-05-02 09:45:44 +02:00
source=("$url/archive/$pkgver.tar.gz")
2016-07-09 13:27:52 +02:00
sha256sums=('076edd83cb0153bb498bb29839102c578f0e8f36b839815867586fb89a131c65')
2016-05-16 01:56:06 +02:00
depends=('pacman>=5' 'expac>=7' 'aria2>=1.23' 'git' 'jshon'
2016-06-29 17:03:18 +02:00
'repose' 'pacutils')
2016-03-26 20:17:11 +01:00
checkdepends=('shellcheck')
makedepends=('git')
2016-05-02 09:45:44 +02:00
optdepends=('devtools: build in an nspawn container'
2016-06-29 17:03:18 +02:00
'vifm: improved build file interaction'
'datamash: check tsort input')
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
}