25 lines
654 B
Bash
25 lines
654 B
Bash
pkgname=aurutils
|
|
pkgver=1.0.0
|
|
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=('311e77a225cc063c4e1dabaab5f53e947734c2d39ca4157bcfe02011d29e5a79')
|
|
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
|
|
}
|