aboutsummaryrefslogtreecommitdiffstats
path: root/community/google-authenticator
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-05-02 15:02:40 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-05-02 15:02:53 +0000
commit592bd564d13e0ceb79055ea80cf8daee44fd9850 (patch)
tree24dd1e3f101f0122ee7ed3bf939cd94de5ebca00 /community/google-authenticator
parent8976d0b22dc10292651f9c5f14031cead646170a (diff)
downloadaports-592bd564d13e0ceb79055ea80cf8daee44fd9850.tar.bz2
aports-592bd564d13e0ceb79055ea80cf8daee44fd9850.tar.xz
community/google-authenticator: upgrade to 1.02
Move to a tagged release
Diffstat (limited to 'community/google-authenticator')
-rw-r--r--community/google-authenticator/APKBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/community/google-authenticator/APKBUILD b/community/google-authenticator/APKBUILD
index 89405dc0de..4e41b34f8a 100644
--- a/community/google-authenticator/APKBUILD
+++ b/community/google-authenticator/APKBUILD
@@ -1,23 +1,25 @@
# Contributor: Fabio Napoleoni <f.napoleoni@gmail.com>
# Maintainer: Fabio Napoleoni <f.napoleoni@gmail.com>
pkgname=google-authenticator
-pkgver=20160902
-_gitrev=bd50d15c348a978c314d2b30e586fbc562096223
-pkgrel=1
+pkgver=1.02
+pkgrel=0
pkgdesc="Google Authenticator PAM module"
url="https://github.com/google/google-authenticator"
arch="all"
license="ASL-2.0"
-depends=""
makedepends="autoconf automake libtool linux-pam-dev m4 libressl-dev"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/google/google-authenticator/archive/$_gitrev.tar.gz"
-builddir="$srcdir/$pkgname-$_gitrev/libpam"
+source="$pkgname-$pkgver.tar.gz::https://github.com/google/google-authenticator/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver/libpam"
-build() {
+prepare() {
cd "$builddir"
+ default_prepare
+ ./bootstrap.sh
+}
- ./bootstrap.sh || return 1
+build() {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,11 +35,7 @@ build() {
package() {
cd "$builddir"
-
make DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/share/doc/$pkgname/*.html
}
-md5sums="dac97b7941f6f7989dadd059ddcb9e49 google-authenticator-20160902.tar.gz"
-sha256sums="522a1ee2a9884ffa68ed6991c0a89727a3ac50a18cb16f356eebeb2135b3a56f google-authenticator-20160902.tar.gz"
-sha512sums="736774f793caf1b83f3598845f8709ef774060c0792e62527013343495480b5a57d6d7f12654cb944b7928679417e13494c361c19f104912221daf4b28075bd3 google-authenticator-20160902.tar.gz"
+sha512sums="8bf81beaf705f0b12f0ed947960dbbc8155add6d83878b651dc1d6658d520dfbbdbe8085b1f244bcfa06d0dd4dfb4cd2177c0a27df4aab5fd1bc4308eef3f7b0 google-authenticator-1.02.tar.gz"