# Maintainer: Alexander Rosenberg pkgname=libexword pkgver=84 pkgrel=1 pkgdesc='Library for transfering files over USB to casio EX-word electronic dictionaries' url='https://github.com/brijohn/libexword/tree/2.0-dev' arch=('x86_64') license=('UNKNOWN') #depends=('') makedepends=('autoconf' 'automake' 'git' 'make') source=('git+https://github.com/brijohn/libexword.git' '40-exword.rules') sha256sums=('SKIP' '6d81bb6836b00ac0e31813a540490e776fa2133d6932e70307c0eec140ce56ae') pkgver(){ cd "$pkgname" git rev-list --count HEAD } build() { cd "$pkgname" git checkout 2.0-dev ./autogen.sh ./configure --prefix="$pkgdir/usr" } package() { cd "$pkgname" make install install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README" install -m644 -D ../40-exword.rules "$pkgdir/etc/udev/rules.d/40-exword.rules" }