PKGBUILD 877 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
  2. pkgname=libexword
  3. pkgver=84
  4. pkgrel=1
  5. pkgdesc='Library for transfering files over USB to casio EX-word electronic dictionaries'
  6. url='https://github.com/brijohn/libexword/tree/2.0-dev'
  7. arch=('x86_64')
  8. license=('UNKNOWN')
  9. #depends=('')
  10. makedepends=('autoconf' 'automake' 'git' 'make')
  11. source=('git+https://github.com/brijohn/libexword.git'
  12. '40-exword.rules')
  13. sha256sums=('SKIP'
  14. '6d81bb6836b00ac0e31813a540490e776fa2133d6932e70307c0eec140ce56ae')
  15. pkgver(){
  16. cd "$pkgname"
  17. git rev-list --count HEAD
  18. }
  19. build() {
  20. cd "$pkgname"
  21. git checkout 2.0-dev
  22. ./autogen.sh
  23. ./configure --prefix="$pkgdir/usr"
  24. }
  25. package() {
  26. cd "$pkgname"
  27. make install
  28. install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README"
  29. install -m644 -D ../40-exword.rules "$pkgdir/etc/udev/rules.d/40-exword.rules"
  30. }