diff options
author | x70b1 | 2020-04-05 21:11:56 +0200 |
---|---|---|
committer | x70b1 | 2020-04-05 21:11:56 +0200 |
commit | 63998d6e29a5dbcc2710ba4890cf12fd039d4afb (patch) | |
tree | e1c2b6cb02cbeb3d8778948601526e1b06b0f01e | |
parent | 3ed73496dcaed944d8bedaf8ec5597a9bef4b74f (diff) | |
download | aur-63998d6e29a5dbcc2710ba4890cf12fd039d4afb.tar.gz |
r11.50fe297-3
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = pam_exec-ssh pkgdesc = Unlock SSH keys on login using PAM pkgver = r11.50fe297 - pkgrel = 2 + pkgrel = 3 url = https://github.com/x70b1/pam_exec-ssh arch = any license = The Unlicense @@ -2,25 +2,25 @@ pkgname=pam_exec-ssh pkgver=r11.50fe297 -pkgrel=2 +pkgrel=3 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") +source=("${pkgname}::git+${url}.git") noextract=() sha256sums=('SKIP') pkgver() { - cd ${_pkgname} + 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} + cd ${pkgname} install -Dm755 pam_exec-ssh "${pkgdir}"/usr/bin/pam_exec-ssh } |