archlinux-pkgbuilds/aurutils/PKGBUILD
2023-03-02 10:51:15 +01:00

33 lines
1.1 KiB
Bash

# Maintainer: Alad Wenter <https://github.com/AladW>
# Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
pkgname=aurutils
pkgver=11
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=('0f5732145f4793ac74eeb8461c66f5d37a1a3d562fbab0db473736475e8cedb1')
depends=('git' 'jq' 'pacutils' 'curl')
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
'devtools: aur-chroot'
'vifm: default pager'
'perl-json-xs: faster JSON serialization'
'ninja: aur-sync ninja support'
'bat: view-delta example script'
'git-delta: view-delta example script'
'setconf: aur-build --rebuild')
build() {
cd "$pkgname-$pkgver"
make AURUTILS_VERSION="$pkgver"
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}