diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Maintainer: mwberry <null [at] example [dot] com> pkgname=pam-ssh-git -pkgver=2.1.r0.g7546abc -pkgrel=2 +pkgver=2.3.r0.g6b4848e +pkgrel=1 pkgdesc="A Pluggable Authentication Module (PAM) for use with SSH." -arch=('i686' 'x86_64') +arch=('x86_64') url="http://pam-ssh.sourceforge.net/" license=('BSD') depends=('pam' 'openssl') @@ -13,12 +13,9 @@ conflicts=("${pkgname%-git}") source=('pam-ssh-git::git://git.code.sf.net/p/pam-ssh/git') md5sums=('SKIP') -# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for -# a description of each element in the source array. - pkgver() { cd "$srcdir/${pkgname}" - printf "%s" "$(git describe --long | sed 's/^PAM_SSH_//;s/\([^-]*-g\)/r\1/;s/-/./g;s/_/./g')" + printf "%s" "$(git describe --long --tags | sed 's/^PAM_SSH_//;s/\([^-]*-g\)/r\1/;s/-/./g;s/_/./g')" } prepare() { |