diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 6 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = pam_exec-ssh pkgdesc = Unlock SSH keys on login using PAM. - pkgver = r17.c377620 - pkgrel = 3 + pkgver = 20220601 + pkgrel = 1 url = https://github.com/x70b1/pam_exec-ssh arch = any license = The Unlicense @@ -1,25 +1,19 @@ # Maintainer: x70b1 pkgname=pam_exec-ssh -pkgver=r17.c377620 -pkgrel=3 +pkgver=20220601 +pkgrel=1 +pkgcommit=311b153 pkgdesc="Unlock SSH keys on login using PAM." arch=(any) url="https://github.com/x70b1/pam_exec-ssh" license=("The Unlicense") makedepends=("git") depends=("pam" "expect") -source=("${pkgname}::git+${url}.git#commit=$(echo ${pkgver} | cut -d '.' -f 2)") +source=("${pkgname}::git+${url}.git#commit=${pkgcommit}") noextract=() sha256sums=('SKIP') -pkgver() { - cd ${pkgname} - set -o pipefail - git describe --long 2> /dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - package() { cd ${pkgname} install -Dm755 pam_exec-ssh "${pkgdir}"/usr/bin/pam_exec-ssh |