archlinux-pkgbuilds/PKGBUILD

42 lines
1.5 KiB
Text
Raw Normal View History

2017-09-07 15:56:05 +02:00
# Maintainer: Alad Wenter <alad@mailbox.org>
2016-03-26 20:17:11 +01:00
pkgname=aurutils
2017-03-08 22:57:27 +01:00
pkgver=1.5.3
2017-10-14 17:04:51 +02:00
pkgrel=5
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')
2017-09-07 15:56:05 +02:00
url='https://github.com/AladW/aurutils'
2017-09-10 19:56:46 +02:00
license=('custom:ISC')
2017-03-07 16:27:42 +01:00
depends=('pacman>=5' 'git' 'jq' 'pacutils>=0.4')
2016-03-26 20:17:11 +01:00
makedepends=('git')
2016-12-27 20:18:16 +01:00
optdepends=('devtools: systemd-nspawn support'
2017-03-07 16:27:42 +01:00
'vifm: build file interaction'
'aria2: threaded downloads'
'parallel: threaded downloads'
'expac: aursift script'
'repose: repo-add alternative')
2017-10-14 17:04:51 +02:00
_backports=('0001-aurbuild-backport-fix-for-236.patch'
'0002-aurbuild-disable-verbose-signing.patch'
'0003-aursync-1-r-is-not-a-default-option.patch')
2017-09-07 15:56:05 +02:00
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
2017-10-06 23:15:25 +02:00
"$pkgname-$pkgver.tar.gz.asc::$url/releases/download/$pkgver/$pkgver.tar.gz.asc"
2017-10-14 17:04:51 +02:00
"${_backports[@]}")
2017-09-07 15:56:05 +02:00
sha256sums=('a09088a460e352179dbf799d915e866af47aa280474a9c943f8e6885490734c5'
2017-10-06 23:15:25 +02:00
'SKIP'
'5001ece7fc2a4ec7e1860a0162e042f19adab13bad5c1070436306f2fe2f2b86'
2017-10-14 17:04:51 +02:00
'f0a2d95b4fb51e4a392e0515ef6e10e0478a609caf7257aa8a896fadf027bfbb'
'43180210b22268ab5b54563541804dec74c08587e77870e527b736cb4f62d4a1')
2017-09-07 15:56:05 +02:00
# Alad Wenter <alad@mailbox.org>
validpgpkeys=('DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A')
2017-10-06 23:15:25 +02:00
prepare() {
cd "$pkgname-$pkgver"
2017-10-14 17:04:51 +02:00
for p in "${_backports[@]}"; do
patch -p1 < "$srcdir/$p"
done
2017-10-06 23:15:25 +02:00
}
2016-03-26 20:17:11 +01:00
package() {
2017-10-06 23:15:25 +02:00
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" PREFIX="/usr" install
2016-03-26 20:17:11 +01:00
}