aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-06-09 08:58:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-06-09 08:59:38 +0000
commit2c8623f50a39c3ecb52231a6ddad31bbe068b2c3 (patch)
tree443b90c30b62e9340161ce32fc214cefbda42932
parent0ecb625d5bcbe19641e064423f7d8df773439702 (diff)
downloadaports-2c8623f50a39c3ecb52231a6ddad31bbe068b2c3.tar.gz
aports-2c8623f50a39c3ecb52231a6ddad31bbe068b2c3.tar.bz2
aports-2c8623f50a39c3ecb52231a6ddad31bbe068b2c3.tar.xz
testing/stoken: move to community
also use github as homepage downstream issue: https://github.com/alpinelinux/docker-alpine/issues/90
-rw-r--r--community/stoken/APKBUILD (renamed from testing/stoken/APKBUILD)13
1 files changed, 4 insertions, 9 deletions
diff --git a/testing/stoken/APKBUILD b/community/stoken/APKBUILD
index 96cf18a16c..9ef7431f72 100644
--- a/testing/stoken/APKBUILD
+++ b/community/stoken/APKBUILD
@@ -2,24 +2,21 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=stoken
pkgver=0.92
-pkgrel=2
+pkgrel=3
pkgdesc="RSA SecurID-compatible software token for Linux/UNIX systems"
-url="http://stoken.sf.net"
+url="https://github.com/cernekee/stoken"
arch="all"
license="LGPL-2.1-or-later"
makedepends="autoconf automake libtool libxml2-dev nettle-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/cernekee/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/cernekee/stoken/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
- cd "$builddir"
./autogen.sh
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--datadir=/usr/share \
@@ -28,16 +25,14 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR=$pkgdir install
}
-dev(){
+dev() {
default_dev
cd "$builddir"
rm "$subpkgdir"/usr/share/doc/stoken/*