|
@ -1,7 +1,7 @@ |
|
|
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com> |
|
|
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com> |
|
|
|
|
|
|
|
|
pkgname=pam_usb |
|
|
pkgname=pam_usb |
|
|
pkgver=1 |
|
|
|
|
|
|
|
|
pkgver=270.96e4232 |
|
|
pkgrel=1 |
|
|
pkgrel=1 |
|
|
pkgdesc='Hardware authentication for Linux using ordinary USB Flash Drives.' |
|
|
pkgdesc='Hardware authentication for Linux using ordinary USB Flash Drives.' |
|
|
arch=('any') |
|
|
arch=('any') |
|
@ -18,10 +18,8 @@ source=( |
|
|
# "git+https://github.com/aluzzardi/${pkgname}.git" |
|
|
# "git+https://github.com/aluzzardi/${pkgname}.git" |
|
|
"pamusb-agent.service" |
|
|
"pamusb-agent.service" |
|
|
) |
|
|
) |
|
|
sha256sums=( |
|
|
|
|
|
'SKIP' |
|
|
|
|
|
'6002172ffe9d51988116c9e2f34b65d3cb6c29d26cdbd4831d6307a711af7bb9' |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
sha256sums=('SKIP' |
|
|
|
|
|
'f5875f0669b2638f36885c305d719072798b5097b15e6c94a8a852bb896bfc5c') |
|
|
|
|
|
|
|
|
pkgver() { |
|
|
pkgver() { |
|
|
cd $pkgname |
|
|
cd $pkgname |
|
@ -40,5 +38,6 @@ build() { |
|
|
package() { |
|
|
package() { |
|
|
cd $pkgname |
|
|
cd $pkgname |
|
|
make DESTDIR=${pkgdir} PAM_USB_DEST=${pkgdir}/usr/lib/security install |
|
|
make DESTDIR=${pkgdir} PAM_USB_DEST=${pkgdir}/usr/lib/security install |
|
|
|
|
|
chmod 0700 ${pkgdir}/usr/bin/pamusb-agent |
|
|
install -Dt ${pkgdir}/usr/lib/systemd/system -m0644 ../pamusb-agent.service |
|
|
install -Dt ${pkgdir}/usr/lib/systemd/system -m0644 ../pamusb-agent.service |
|
|
} |
|
|
} |