Last active
October 27, 2015 15:21
-
-
Save StephenBrown2/407c73e8f089ed1428e2 to your computer and use it in GitHub Desktop.
Arch Linux PKGBUILD files for stoken, using both the released version and git master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Stephen Brown II <Stephen [dot] Brown2 [at] gmail.com> | |
pkgname=stoken | |
pkgver="0.90" | |
pkgrel=1 | |
pkgdesc="RSA SecurID-compatible software token for Linux/UNIX systems" | |
arch=('i686' 'x86_64') | |
url="https://github.com/cernekee/${pkgname}" | |
license=('LGPL2.1') | |
depends=('nettle' 'libxml2') | |
optdepends=('gtk3: required for stoken-gui') | |
conflicts=("${pkgname}-git") | |
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" | |
"http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz.asc") | |
md5sums=('3c74bb0599085b5de9aa600fa3270ae3' | |
'f064bc11a4e825ec7ddffc3eaf1fe247') | |
validpgpkeys=('45DFF2D5205FE8CD74C2EE6C63B81599BC0B0D65') | |
build() { | |
cd "${pkgname}-${pkgver}" | |
./configure --prefix=/usr | |
make | |
} | |
check() { | |
cd "${pkgname}-${pkgver}" | |
make -k check | |
} | |
package() { | |
cd "${pkgname}-${pkgver}" | |
make DESTDIR="${pkgdir}/" install | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Stephen Brown II <Stephen [dot] Brown2 [at] gmail.com> | |
pkgname=stoken-git | |
pkgver="0.90" | |
pkgrel=1 | |
pkgdesc="RSA SecurID-compatible software token for Linux/UNIX systems" | |
arch=('i686' 'x86_64') | |
url="https://github.com/cernekee/${pkgname%-git}" | |
license=('LGPL2.1') | |
depends=('nettle' 'libxml2') | |
makedepends=('git' 'autoconf' 'automake' 'libtool') | |
optdepends=('gtk3: required for stoken-gui') | |
provides=("${pkgname%-git}") | |
conflicts=("${pkgname%-git}") | |
source=("${pkgname%-git}"::"git+https://github.com/cernekee/${pkgname%-git}.git") | |
md5sums=('SKIP') | |
pkgver() { | |
cd "${srcdir}/${pkgname%-git}" | |
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" | |
} | |
build() { | |
cd "${srcdir}/${pkgname%-git}" | |
./autogen.sh | |
./configure --prefix=/usr | |
make | |
} | |
check() { | |
cd "${srcdir}/${pkgname%-git}" | |
make -k check | |
} | |
package() { | |
cd "${srcdir}/${pkgname%-git}" | |
make DESTDIR="$pkgdir/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment