archlinux-pkgbuilds/aurutils/PKGBUILD

38 lines
1.1 KiB
Text
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-11-09 14:31:40 +01:00
pkgver=3.1.2
2021-01-04 21:31:07 +01:00
pkgrel=2
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')
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
"$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.signify"
'aurutils.pub')
changelog=aurutils.changelog
2021-01-04 21:31:07 +01:00
install=aurutils.install
2020-11-09 14:31:40 +01:00
sha256sums=('86a80ae8327aeeb4932c7709767b2be5fae19281a5bcc78b2b10197e97c32afb'
'SKIP'
2020-11-09 12:04:05 +01:00
'a2c32b0dba4da40b83ff31cce48a00faed5ed2f663c060a865d31caeb1e4ed39')
depends=('git' 'jq' 'pacutils' 'curl')
2020-10-29 18:41:05 +01:00
makedepends=('signify')
2019-01-10 17:21:24 +01:00
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
2019-01-10 17:21:24 +01:00
'devtools: aur-chroot'
'vifm: default pager')
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() {
2020-11-03 17:05:41 +01:00
cd "$pkgname-$pkgver"
make
2017-10-06 23:15:25 +02:00
}
2016-03-26 20:17:11 +01:00
package() {
2020-11-03 17:05:41 +01:00
cd "$pkgname-$pkgver"
2019-01-10 17:21:24 +01:00
make DESTDIR="$pkgdir" install
2016-03-26 20:17:11 +01:00
}