initial import
This commit is contained in:
40
oath-toolkit/PKGBUILD
Normal file
40
oath-toolkit/PKGBUILD
Normal file
@@ -0,0 +1,40 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
|
||||
pkgname=oath-toolkit
|
||||
pkgver=2.6.7
|
||||
pkgrel=3
|
||||
pkgdesc="OATH one-time password toolkit"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://www.nongnu.org/oath-toolkit/'
|
||||
license=('GPL-3')
|
||||
depends=('glibc' 'xmlsec')
|
||||
source=("https://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('50edff75c8366887d69cf4740c4cc3bdfc3e43cbd4910ff40f735bca489f0953d7e5a21130f12782ac7a1f2fb00f0db313aff139085f23daba78a69bc7b2eb12')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
export GTKDOCIZE=echo
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-pam
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# remove gtk-doc, not supported
|
||||
rm -rf "$pkgdir/usr/share/gtk-doc/"
|
||||
|
||||
# install basic docs
|
||||
install -Dm644 README -t "$pkgdir/usr/share/doc/$pkgname"
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user