diff options
author | Jesse R Codling | 2023-09-08 14:30:17 -0400 |
---|---|---|
committer | Jesse R Codling | 2023-09-08 14:30:17 -0400 |
commit | 62335b06e590897927b93c61c08ed37b4f67e541 (patch) | |
tree | e0cee22c19a0ea2f00c3c33c259d5ab8e1deb508 /PKGBUILD | |
parent | 98f7fb765c85bf17796f9ea5fb999ba5973cdb11 (diff) | |
download | aur-kafs.tar.gz |
Update to tagged versions
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
@@ -1,29 +1,33 @@ +# Maintainer: Jesse R Codling <codling@umich.edu> +# Contributor: Matt Pallisard <matt@pallissard.net> + pkgname=kafs _pkgname=kafs -pkgver=r16.0ae929f +pkgver=0.5 pkgrel=1 license=("GPL2") pkgdesc="kafs client tools" makedepends=("gcc" "git" "krb5" "openssl") arch=("i686" "x86_64") url="https://www.infradead.org/~dhowells/kafs/" -source=("${pkgname%-*}::git://git.infradead.org/users/dhowells/kafs-client.git") -sha1sums=("SKIP") +source=( + "${pkgname%-*}::git://git.infradead.org/users/dhowells/kafs-client.git#tag=v${pkgver}" + "cellservdb.conf::https://github.com/auristor/sro-auristor-client/raw/main/examples/volumeMaps/cellservdb.conf" + ) +#pulled in a more up-to-date cell database from Auristor +sha256sums=('SKIP' + '484e096c814f3e9120cb6c55f9ff235b6523270dc1900806c91766d3218f9d72') provides=("kafs") conflicts=("kafs") -pkgver() { - cd "${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - build() { cd "${srcdir}/${_pkgname}" - make DESTDIR="$pkgdir" LIBDIR=/usr/lib all + make DESTDIR="$pkgdir" LIBDIR=/usr/lib SBINDIR=/usr/bin DATADIR=/usr/share/kafs all } package() { cd "${srcdir}/${_pkgname}" - make DESTDIR="$pkgdir" LIBDIR=/usr/lib install all + mv ${srcdir}/cellservdb.conf conf/cellservdb.conf # copy in a recent cell database + make DESTDIR="$pkgdir" LIBDIR=/usr/lib SBINDIR=/usr/bin DATADIR=/usr/share/kafs install } |