Guest User

Untitled

a guest
Oct 2nd, 2018
454
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: David Rodriguez <dissonant.tech@gmail.com>
  2.  
  3. pkgname=pam_usb
  4. pkgver=0.5.0
  5. pkgrel=5
  6. pkgdesc="PAM modules that enables either two-factor or password-less authentication using an USB storage device (such as an USB flash memory stick)"
  7. url="https://github.com/aluzzardi/pam_usb"
  8. license=("GPL")
  9. depends=(libxml2 pam pmount udisks2 dbus-python python2-gobject2)
  10. arch=('i686' 'x86_64')
  11. backup=('etc/pamusb.conf')
  12. md5sums=('da45e2da226f860ebb9ed7570cf5ecd1')
  13. source=("https://github.com/IGP/pam_usb/archive/master.zip")
  14.  
  15. build() {
  16. cd "$srcdir/pam_usb-master"
  17. make
  18. }
  19.  
  20. package() {
  21. cd "$srcdir/pam_usb-master"
  22. make DESTDIR="$pkgdir" PAM_USB_DEST="$pkgdir/usr/lib/security" install
  23. }
RAW Paste Data