[arch-commits] Commit in stoken/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue May 5 05:37:31 UTC 2020


    Date: Tuesday, May 5, 2020 @ 05:37:31
  Author: foutrelis
Revision: 382254

archrelease: copy trunk to staging-x86_64

Added:
  stoken/repos/staging-x86_64/
  stoken/repos/staging-x86_64/PKGBUILD
    (from rev 382253, stoken/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: stoken/repos/staging-x86_64/PKGBUILD (from rev 382253, stoken/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-05 05:37:31 UTC (rev 382254)
@@ -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=4
+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:


More information about the arch-commits mailing list