summaryrefslogtreecommitdiff
path: root/community/chicken/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/chicken/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/chicken/PKGBUILD')
-rw-r--r--community/chicken/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/chicken/PKGBUILD b/community/chicken/PKGBUILD
new file mode 100644
index 000000000..b0e744e0e
--- /dev/null
+++ b/community/chicken/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: <david@pako.st>
+
+pkgname=chicken
+pkgver=4.6.0
+pkgrel=2
+pkgdesc='A compiler for R5RS scheme, featuring handy extensions'
+arch=('i686' 'x86_64')
+url='http://www.call-with-current-continuation.org/'
+license=('BSD')
+depends=('gcc')
+source=("http://code.call-cc.org/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('538a93e786e550ad848a040bcd902184')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # parallel builds are not supported..
+ export MAKEFLAGS="${MAKEFLAGS/-j?/}"
+
+ # some yummy make options there. check out README in the tarball.
+ make PLATFORM=linux PREFIX=/usr
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make PLATFORM=linux PREFIX=/usr DESTDIR=${pkgdir} install
+
+ install -D -m644 LICENSE \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+ # should be a symbolic link not a copy otherwise ldconfig will cry
+ rm -f ${pkgdir}/usr/lib/libchicken.so
+ ln -s /usr/lib/libchicken.so.5 ${pkgdir}/usr/lib/libchicken.so
+}