diff options
author | mwberry | 2019-03-24 12:13:40 -0700 |
---|---|---|
committer | mwberry | 2019-03-24 12:13:40 -0700 |
commit | 154d259d254dc081b45a6f860fdbc6b34b98c976 (patch) | |
tree | 9747f86bb7a3fb193b844de51d458a6be21bbf61 /PKGBUILD | |
parent | a9842c05811ef1d6da2a048977b155f12f709ee6 (diff) | |
download | aur-pam-ssh-git.tar.gz |
Drop x86, use lightweight tags in package version
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() { |