2020-10-24 05:41:54 +02:00
|
|
|
# Maintainer: Alad Wenter <https://github.com/AladW>
|
2016-03-26 20:17:11 +01:00
|
|
|
pkgname=aurutils
|
2020-10-24 05:41:54 +02:00
|
|
|
pkgver=2.3.7
|
2019-01-10 17:21:24 +01:00
|
|
|
pkgrel=1
|
2016-04-01 04:57:05 +02:00
|
|
|
pkgdesc='helper tools for the arch user repository'
|
2017-09-07 15:56:05 +02:00
|
|
|
url='https://github.com/AladW/aurutils'
|
2019-01-10 17:21:24 +01:00
|
|
|
arch=('any')
|
2017-09-10 19:56:46 +02:00
|
|
|
license=('custom:ISC')
|
2020-10-24 05:41:54 +02:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
|
|
|
|
"$pkgname-$pkgver.tar.gz.signify::$url/releases/download/$pkgver/$pkgver.tar.gz.sig")
|
2020-09-18 23:38:03 +02:00
|
|
|
depends=('git' 'jq' 'expac' 'diffstat' 'pacutils' 'wget')
|
2020-10-24 05:41:54 +02:00
|
|
|
makedepends=('git' 'signify')
|
2019-01-10 17:21:24 +01:00
|
|
|
optdepends=('bash-completion: bash completion'
|
|
|
|
'devtools: aur-chroot'
|
2019-10-26 16:02:46 +02:00
|
|
|
'vifm: build file interaction')
|
2020-10-24 05:41:54 +02:00
|
|
|
sha256sums=('bae2f7211cb80626f260e1ebcb2c061751407a03f1ab8898bc80182888502bef'
|
|
|
|
'SKIP')
|
|
|
|
_validsignifykey='RWQawitEue1JU2SxUyRD8LXP8m36QsbaHOkKfvZBfhj00EXBYiDZilp0'
|
|
|
|
|
|
|
|
prepare() {
|
2020-10-24 05:52:27 +02:00
|
|
|
cat >aurutils-23.pub <<EOF
|
2020-10-24 05:41:54 +02:00
|
|
|
untrusted comment: signify public key
|
|
|
|
$_validsignifykey
|
|
|
|
EOF
|
2020-10-24 06:02:00 +02:00
|
|
|
signify -V -p aurutils-23.pub -m "$pkgname-$pkgver".tar.gz \
|
2020-10-24 05:41:54 +02:00
|
|
|
-x "$pkgname-$pkgver".tar.gz.signify
|
|
|
|
}
|
2016-09-08 17:00:24 +02:00
|
|
|
|
2019-01-10 17:21:24 +01:00
|
|
|
build() {
|
2017-10-06 23:15:25 +02:00
|
|
|
cd "$pkgname-$pkgver"
|
2019-01-10 22:53:07 +01:00
|
|
|
make
|
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"
|
2019-01-10 17:21:24 +01:00
|
|
|
make DESTDIR="$pkgdir" install
|
2016-03-26 20:17:11 +01:00
|
|
|
}
|