blob: 640b8946961acf66ea477a41de1f34576d959aff (
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
|
# Maintainer: sonofaglitch <sonofaglitch@mailbox.org>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Christian Babeux <christian.babeux@0x80.ca>
pkgname=gambit-c
pkgver=4.9.5
pkgrel=1
pkgdesc='Efficient implementation of the Scheme programming language'
arch=(x86_64)
url='https://github.com/gambit/gambit'
license=(Apache LGPL)
options=(staticlibs !lto)
makedepends=(git)
_srcname=${pkgname/-c}-v${pkgver//./_}
source=("https://gambitscheme.org/latest/${_srcname}.tgz")
b2sums=('1e3c32eb03acb97fafc639941312682c59c173a9605f516bb83bec210c2cc6163ea3357ae08a82572314fa252480a3eb3001a874ea9a8a2e34a389fe090a5de9')
build() {
cd ${_srcname}
./configure \
--docdir=/usr/share/doc/gambit-c \
--enable-gcc-opts \
--enable-single-host \
--infodir=/usr/share/info \
--libdir=/usr/lib/gambit-c \
--prefix=/usr
make
}
package() {
make -C ${_srcname} install DESTDIR="$pkgdir"
}
# getver: github.com/gambit/gambit/releases/latest
|