summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4601595e4a8aee7cbb8f92bbceaa2a44afd048d5 (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=725
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 --target-prefix="${pkgdir}"
}