pkgname=eisl-git pkgver=r250.b733dd3 pkgrel=1 pkgdesc='Easy-ISLisp' url='https://github.com/sasagawa888/eisl' arch=('any') license=('BSD') depends=() provides=('eisl') conflicts=('eisl') source=("git+https://github.com/sasagawa888/eisl.git") md5sums=('SKIP') pkgver() { cd eisl printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd eisl make } package() { cd eisl make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 "$srcdir"/eisl/license.txt "$pkgdir"/usr/share/licenses/$pkgname }