summaryrefslogtreecommitdiff
path: root/community-testing/esdl/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-11 10:57:18 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-11 10:57:18 -0300
commitc07ca5cb71d277e9f2fd5c7b94cf8a0021bdfab5 (patch)
treed9d528762b726855cc356781c89abb1768c8be28 /community-testing/esdl/PKGBUILD
parentece2137c9569ec806aacf3740df98c399a51b21a (diff)
parent8119da2eaadf53531cad2aed70981ed4606340d6 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/sword/PKGBUILD community/freedroidrpg/PKGBUILD community/pgadmin3/PKGBUILD libre/lame-libre/PKGBUILD testing/dbus-core/PKGBUILD testing/libwebkit/PKGBUILD testing/tracker/PKGBUILD testing/udev/0001-split-usr-always-read-config-files-from-lib-udev.patch testing/udev/0002-reinstate-TIMEOUT-handling.patch testing/udev/PKGBUILD
Diffstat (limited to 'community-testing/esdl/PKGBUILD')
-rw-r--r--community-testing/esdl/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community-testing/esdl/PKGBUILD b/community-testing/esdl/PKGBUILD
new file mode 100644
index 000000000..1324daaee
--- /dev/null
+++ b/community-testing/esdl/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: kappa <kappacurve@gmail.com>
+
+pkgname=esdl
+pkgver=1.0.1
+pkgrel=2
+epoch=2
+arch=('x86_64' 'i686')
+pkgdesc="SDL and OpenGL bindings for the Erlang programming language"
+url="http://esdl.sourceforge.net/"
+license=('custom')
+depends=('erlang' 'sdl' 'mesa')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz")
+md5sums=('50230ea81418cb029281a70627a5dd8e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ find -type f -print0 | xargs -0 chmod 644
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make INSTALLDIR="$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver" install
+
+ ## To make wings3d compile with esdl 1.2
+ #ln -s /usr/lib/erlang/lib/wx-0.99/include/glu.hrl \
+ # "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver/include/glu.hrl"
+ #ln -s /usr/lib/erlang/lib/wx-0.99/include/gl.hrl \
+ # "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver/include/gl.hrl"
+
+ install -Dm644 "$srcdir/$pkgname-$pkgver/license.terms" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: