Date: Thursday, February 14, 2019 @ 00:37:44 Author: anthraxx Revision: 346246
addpkg: stoken 0.92-2 Added: stoken/ stoken/repos/ stoken/trunk/ stoken/trunk/PKGBUILD ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Added: stoken/trunk/PKGBUILD =================================================================== --- stoken/trunk/PKGBUILD (rev 0) +++ stoken/trunk/PKGBUILD 2019-02-14 00:37:44 UTC (rev 346246) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Stephen Brown II <Stephen [dot] Brown2 [at] gmail.com> + +pkgname=stoken +pkgver=0.92 +pkgrel=2 +pkgdesc='RSA SecurID-compatible software token for Linux/UNIX systems' +url='https://github.com/cernekee/stoken' +arch=('x86_64') +license=('LGPL2.1') +depends=('nettle' 'libxml2') +makedepends=('gtk3') +optdepends=('gtk3: required for stoken-gui') +provides=('libstoken.so') +source=(https://downloads.sourceforge.net/stoken/${pkgname}-${pkgver}.tar.gz{,.asc}) +sha256sums=('aa2b481b058e4caf068f7e747a2dcf5772bcbf278a4f89bc9efcbf82bcc9ef5a' + 'SKIP') +validpgpkeys=('45DFF2D5205FE8CD74C2EE6C63B81599BC0B0D65') + +prepare() { + cd ${pkgname}-${pkgver} + autoreconf -fiv +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${pkgname}-${pkgver} + make -k check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: