libpam-google-authenticator: update to gitrev

The project moved from GoogleCode to GitHub. Use the latest git revision.
This commit is contained in:
Juergen Buchmueller 2016-10-19 19:07:54 +02:00
parent 998517bfec
commit 9d7343eb10
1 changed files with 13 additions and 14 deletions

View File

@ -1,22 +1,21 @@
# Template file for 'google-authenticator'
pkgname=libpam-google-authenticator
version=1.0
revision=2
version=1.0.0.20161019
revision=1
_pkgname=${pkgname#libpam-}
_gitrev=9d858ecaad46b40b004fbc1413daa4143c3f10b8
wrksrc="${_pkgname}-${_gitrev}"
build_wrksrc="libpam"
build_style=gnu-configure
makedepends="pam-devel"
hostmakedepends="pkg-config"
hostmakedepends="automake libtool pkg-config"
short_desc="Google's two-factor authentication project"
maintainer="Sean R. Lang <srlang@ncsu.edu>"
license="Apache-2.0"
homepage="https://google-authenticator.googlecode.com"
distfiles="${homepage}/files/${pkgname}-${version}-source.tar.bz2"
checksum=80426045d13ce7a2bf56c692ccfb1751cef3c7484752ad40738facf729264d4b
homepage="https://github.com/google/google-authenticator"
distfiles="https://github.com/google/${_pkgname}/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=a9325204633c6b5c12aa62c4825f425a9c4da286f2fd9f0f0d06586b76543509
do_build() {
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
}
do_install() {
vbin google-authenticator
vinstall pam_google_authenticator.so 755 usr/lib/security
vdoc README
vdoc FILEFORMAT
pre_configure() {
./bootstrap.sh
}