summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 84f685249a8994449fb562e6c28fbbca050d17cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
_name=sph-dg
pkgname=$_name-git
pkgver=39
pkgrel=1
pkgdesc="key/value/relations/graph database as a shared library"
arch=(any)
license=(gpl3+)
makedepends=(git gcc)
depends=(liblmdb)
provides=($_name)
source=("git://git.sph.mn/$_name#branch=stable")
url="http://sph.mn/content/2faf"
md5sums=(SKIP)

pkgver() {
  cd "$_name"
  git rev-list --count HEAD
}

package() {
  cd "$_name" &&
  ./exe/compile-c &&
  ./exe/install "${pkgdir}"
}