summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea94b92cb3e105d38b8446d2c686c4274b46948e (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
_name=fibers
pkgname=guile-$_name-git
pkgver=v1.3.1.r24.gf92e5cb
pkgrel=1
pkgdesc="Concurrent ML-like concurrency for Guile"
arch=(any)
license=(LGPL3+)
makedepends=(git)
depends=("guile>=2.1.7")
provides=("guile-$_name")
source=(git+https://github.com/wingo/$_name.git)
url="https://github.com/wingo/fibers"
md5sums=(SKIP)
# shows warnings for .go files
options=(!strip)

pkgver() {
  cd "$srcdir/$_name" &&
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

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