jobcore/libgssglue/PKGBUILD

48 lines
1.5 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libgssglue
pkgver=0.8
pkgrel=01
pkgdesc="Exports a gssapi interface which calls other random gssapi libraries"
#url="https://www.citi.umich.edu/projects/nfsv4/linux/"
url="https://gitlab.com/gsasl/libgssglue/"
#options=(debug) ## uncomment this to have the debug pkg produced
depends=('glibc')
makedepends=('pkgconfig' 'autoconf')
backup=(etc/gssapi_mech.conf)
source=($url/-/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz)
prepare() {
cd $pkgname-$pkgname-$pkgver
touch ChangeLog
autoreconf -fiv
}
build() {
cd $pkgname-$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
make DESTDIR="$pkgdir/" install -C $pkgname-$pkgname-$pkgver
install -vDm 644 $pkgname-$pkgname-$pkgver/doc/gssapi_mech.conf -t "$pkgdir/etc/"
install -vDm 644 $pkgname-$pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 644 $pkgname-$pkgname-$pkgver/{AUTHORS,README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(BSD-3-Clause)
sha256sums=(d5cb52a1c485cd1782ddef212787505c0e72904e486f6d03e0dde28fd6012ec7) # libgssglue-libgssglue-0.8.tar.gz
## 8b517e9d3fd267d6a2fbd8b971dc775dc89ecb1924c71dc67637cef9bd8f8a9b libgssglue-0.8-01-x86_64.pkg.tar.lz