_name=sph-db-guile pkgname=sph-db-guile-git pkgver=1 pkgrel=1 pkgdesc="guile scheme bindings for the database sph-db" arch=(any) license=(gpl3+) makedepends=(git gcc) depends=(sph-db) provides=(sph-db-guile) url="git://github.com/sph-mn/sph-db-guile" source=("$url") md5sums=(SKIP) pkgver() { cd "$_name" && git rev-list --count HEAD } package() { cd "$_name" && ./exe/compile-c && ./exe/install "$pkgdir" }