summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b9240116da19fb62940071d0d65f95ecd8de616 (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
30
31
32
33
34
_name=wisp
pkgname=guile-$_name-hg
pkgver=r1710.ad2b1867648a
pkgrel=1
pkgdesc="Whitespace to Lisp converter (srfi-119) as a guile module"
arch=(any)
license=(gpl3+)
makedepends=(mercurial)
depends=("guile>=2")
provides=("$_name")
source=("hg+https://hg.sr.ht/~arnebab/wisp")
url="http://www.draketo.de/english/wisp"
md5sums=(SKIP)

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

prepare() {
  cd "$srcdir/$_name"
}

build() {
  cd "$srcdir/$_name"
  autoreconf -i
  ./configure --datarootdir=/usr/share
  make
}

package() {
  cd "$srcdir/$_name"
  make install DESTDIR="$pkgdir"
}