spkgbuild 453 B

12345678910111213141516171819202122
  1. # description : Generic USB CCID and ICCD driver for Unix systems.
  2. # homepage : https://ccid.apdu.fr/
  3. # depends : pcsclite
  4. name=ccid
  5. version=1.6.1
  6. release=1
  7. noextract=""
  8. backup=""
  9. source="https://ccid.apdu.fr/files/$name-$version.tar.xz pcscd.rc"
  10. build() {
  11. cd $name-$version
  12. meson setup builddir
  13. cd builddir
  14. meson compile
  15. sudo DESTDIR=$PKG meson install
  16. # Install startup script
  17. install -Dm 755 $SRC/pcscd.rc $PKG/etc/rc.d/pcscd
  18. }