archlinux-pkgbuilds/PKGBUILD
2022-03-09 15:10:43 +01:00

33 lines
942 B
Bash

# Maintainer: Alad Wenter <https://github.com/AladW>
# Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
pkgname=aurutils
pkgver=8.1.1
pkgrel=1
pkgdesc='helper tools for the arch user repository'
url='https://github.com/AladW/aurutils'
arch=('any')
license=('custom:ISC')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
changelog=aurutils.changelog
install=aurutils.install
sha256sums=('79bd38b159788fdb37831e368fa9d4649767b0c30aac388b03633363f45e4c17')
depends=('git' 'jq' 'pacutils' 'curl' 'expect')
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
'devtools: aur-chroot'
'vifm: default pager'
'ninja: aur-sync ninja support')
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
make AURUTILS_VERSION="$pkgver"
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}