_name=sph-db pkgname=sph-db-git pkgver=80 pkgrel=1 pkgdesc="database as a shared library for records and relations" arch=(any) license=(lgpl3+) makedepends=(git gcc) depends=(lmdb) provides=(sph-db) url="git://github.com/sph-mn/sph-db" source=("$url") md5sums=(SKIP) pkgver() { cd "$_name" && git rev-list --count HEAD } package() { cd "$_name" && ./exe/compile-c && ./exe/install "$pkgdir" }