diff options
author | tantalum | 2019-02-22 14:05:58 +0000 |
---|---|---|
committer | tantalum | 2019-02-22 14:05:58 +0000 |
commit | c77413177184ac6f8a9e15e86db1b67716ed29c4 (patch) | |
tree | a26d720639cff4217f0cc37c9663b3c9f528a646 /PKGBUILD | |
parent | 07980009fdd9d7a8e786af470623088c5ac765cc (diff) | |
download | aur-sph-db-guile-git.tar.gz |
update pkgbuild
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x[-rw-r--r--] | PKGBUILD | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD index 2b3f222238a0..636ad644c894 100644..100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,24 +1,29 @@ +pkgname=sph-db-guile-git arch=(any) -conflicts=(sph-dg-guile) -depends=(sph-dg "guile>=2") +conflicts=(sph-db-guile) +depends=(sph-db guile) license=(gpl3+) -makedepends=(git gcc sph-sc) +makedepends=(git gcc) md5sums=(SKIP) -pkgdesc='guile bindings to sph-dg' -pkgname=sph-dg-guile-git -_gitname=sph-dg-guile +pkgdesc="guile bindings to sph-db" pkgrel=1 -pkgver=74 -provides=(sph-dg-guile) -source=("$pkgname::git://git.sph.mn/sph-dg-guile#branch=stable") -url="http://sph.mn/content/2faf" +pkgver=36 +provides=(sph-db-guile) +source=("git://git.sph.mn/sph-db-guile") +url="http://sph.mn" pkgver() { - cd "$pkgname" + cd sph-db-guile git rev-list --count HEAD } +build() { + cd sph-db-guile + export C_INCLUDE_PATH=/usr/include/guile/2.2/ + ./exe/compile-c +} + package() { - cd $pkgname - ./exe/compile && ./exe/install --prefix="${pkgdir}" + cd sph-db-guile + ./exe/install "${pkgdir}" }
\ No newline at end of file |