archlinux-pkgbuilds/PKGBUILD

35 lines
1 KiB
Bash
Raw Normal View History

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"
"aurutils.pub")
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'
'90b2b4fa409461c67489f9a5092039ba52f90447ae58bff80f94db38878132c5')
2020-10-24 05:41:54 +02:00
prepare() {
signify -V -p aurutils.pub -m "$pkgname-$pkgver".tar.gz \
2020-10-24 05:41:54 +02:00
-x "$pkgname-$pkgver".tar.gz.signify
}
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
}