summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d49f6cfe33cda2c648166d8a3f5c9ec5a5cfa1c (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
_name=wisp
pkgname=guile-$_name-hg
pkgver=r1374.2a8cd5e0a13c
pkgrel=1
pkgdesc="wisp (srfi-119) as a language for guile"
arch=(any)
license=(gpl3+)
makedepends=(mercurial)
depends=(guile)
provides=("$_name")
source=("hg+http://draketo.de/proj/$_name")
url="http://www.draketo.de/english/wisp"
md5sums=(SKIP)
install="$pkgname.install"

pkgver() {
  cd "$srcdir/$_name" &&
  printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}

package() {
  cd "$srcdir/$_name" &&
  autoreconf -i &&
  ./configure --datarootdir=/usr/share &&
  make &&
  make install DESTDIR="$pkgdir"
}