blob: 42064b9fea685cb530e8094106b69045feb1f298 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Contributor: Jürgen Hötzel <juergen@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=bigloo-git
pkgver=4.5a.r3528.16e397e1
pkgrel=1
pkgdesc="Fast scheme compiler"
arch=('x86_64')
url="https://www-sop.inria.fr/mimosa/fp/Bigloo/"
license=('GPL' 'LGPL')
depends=('gmp' 'openssl' 'libunistring' 'libnsl' 'libuv' 'libpulse'
'mpg123' 'avahi' 'sqlite' 'gstreamer')
makedepends=('bigloo' 'java-environment' 'emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi' 'chrpath' 'tar')
optdepends=('java-environment' 'emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi')
options=('!makeflags' 'staticlibs')
conflicts=('bigloo')
provides=("bigloo")
source=(git+https://github.com/manuel-serrano/bigloo.git bigloo-emacs.patch no_scribe.patch)
sha256sums=('SKIP'
'80356c27b58a302775f75e848a89ab2d588796a548f4ce7a20df048e215deab0'
'a865861edecd0f797c7e65ddd3cc46e3d4d4cf95de53d81847844314dde91be5')
pkgver() {
cd ${pkgname%-git}
printf "%s.r%s.%s" $(grep ^release configure| cut -d= -f2) $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}
prepare() {
patch -p0 -d ${pkgname%-git} -i "${srcdir}/bigloo-emacs.patch"
cd ${pkgname%-git}
git apply "$srcdir"/no_scribe.patch
}
build() {
cd ${pkgname%-git}
./configure --prefix=/usr \
--build-bindir=/usr/bin \
--docdir=/usr/share/doc/bigloo \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--lispdir=${elisp_dir} \
--coflags="$CFLAGS" \
--cpicflags="-fPIC" \
--customgc=yes \
--customgmp=no \
--customlibuv=no \
--customunistring=no \
--jvm=no \
--native-default-backend \
--enable-avahi \
--enable-flac \
--enable-sqlite \
--enable-ssl \
--enable-gstreamer \
--disable-mqtt
EXTRALIBS="-ldl -lresolv -lunistring -lpcre -lgmp -lm -lc" make build compile-bee
}
package() {
cd ${pkgname%-git}
make DESTDIR="${pkgdir}" install install-bee
make -C manuals DESTDIR="${pkgdir}" install-bee
}
|