Pkgfile 549 B

12345678910111213141516171819202122232425
  1. # Description: Tools and libraries for smart cards
  2. # URL: https://github.com/OpenSC/OpenSC/wiki
  3. # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
  4. # Depends on: pcsclite
  5. name=opensc
  6. version=0.25.1
  7. release=1
  8. source=(https://github.com/OpenSC/OpenSC/releases/download/$version/$name-$version.tar.gz)
  9. build() {
  10. cd $name-$version
  11. ./bootstrap
  12. ./configure --prefix=/usr \
  13. --sysconfdir=/etc/opensc
  14. make
  15. make DESTDIR=$PKG install
  16. install -D -m644 etc/opensc.conf $PKG/etc/opensc.conf
  17. rm -rf $PKG/usr/share/doc/opensc/NEWS
  18. }