26 lines
678 B
Bash
26 lines
678 B
Bash
pkgname=aurutils
|
|
pkgver=1.2.1
|
|
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=('2c420f3735895beb3460fa0d36260c2194f9ac38a0700c50dd5497959c34f4ac')
|
|
depends=('pacman>=5' 'expac>=7' 'aria2>=1.23' 'git' 'jshon'
|
|
'repose' 'pacutils')
|
|
checkdepends=('shellcheck')
|
|
makedepends=('git')
|
|
optdepends=('devtools: build in an nspawn container'
|
|
'vifm: improved build file interaction'
|
|
'datamash: check tsort input')
|
|
|
|
check() {
|
|
cd "$pkgname-$pkgver"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" PREFIX="/usr" install
|
|
}
|