archlinux-pkgbuilds/aurutils/PKGBUILD

34 lines
940 B
Bash
Raw Normal View History

2020-10-24 05:41:54 +02:00
# Maintainer: Alad Wenter <https://github.com/AladW>
# Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
2016-03-26 20:17:11 +01:00
pkgname=aurutils
pkgver=7.2
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')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
changelog=aurutils.changelog
2021-01-04 21:31:07 +01:00
install=aurutils.install
sha256sums=('f7968625c4cf39592c40beebc64fd8c6295a9ad8f3edcdfda67d8d4fed16cb63')
2021-12-01 13:26:37 +01:00
depends=('git' 'jq' 'pacutils' 'curl' 'expect')
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'
2022-02-24 12:50:14 +01:00
'vifm: default pager'
'ninja: aur-sync ninja support')
2020-10-24 05:41:54 +02:00
prepare() {
cd "$pkgname-$pkgver"
}
2019-01-10 17:21:24 +01:00
build() {
2020-11-03 17:05:41 +01:00
cd "$pkgname-$pkgver"
make AURUTILS_VERSION="$pkgver"
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
}