summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e6c7f416e38d6f3df601d1f11d17c616d48b6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
pkgname=aurutils
pkgver=1.4.2
_commit=1b00b899eadbb816fe2e3f93b9497676049595e8
pkgrel=1
pkgdesc='helper tools for the arch user repository'
arch=('any')
url=https://github.com/AladW/aurutils
license=('ISC')
depends=('pacman>=5' 'expac>=7' 'git' 'jq' 'repose' 'pacutils>=0.4')
checkdepends=('shellcheck')
makedepends=('git')
optdepends=('devtools: systemd-nspawn support'
	    'vifm: build file interaction'
	    'aria2>=1.23: alternative downloader'
	    'parallel: alternative downloader'
	    'datamash: check tsort input')
source=("$pkgname-$pkgver::git+$url#commit=$_commit")
sha256sums=('SKIP')

check() {
  cd "$pkgname-$pkgver"
  make check
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" PREFIX="/usr" install
}