summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b03389ed9d546a89c8b7ebbd5a509ca9550fc861 (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
25
26
27
28
29
pkgname=sph-lib-git
pkgver=714
pkgrel=1
pkgdesc="more than 80 gpl3+ licensed guile scheme libraries"
arch=(any)
license=(gpl3+)
makedepends=(gcc git)
depends=(guile)
provides=(sph-lib)
conflicts=(sph-lib)
source=("git://sph.mn/sph-lib")
url="http://sph.mn/computer/software/sph-lib.html"
md5sums=(SKIP)

pkgver() {
  cd sph-lib
  git rev-list --count HEAD
}

build() {
  cd sph-lib
  export C_INCLUDE_PATH=/usr/include/guile/2.2/
  ./exe/compile-c
}

package() {
  cd sph-lib
  ./exe/install --prefix="${pkgdir}"
}