From 223ca251f3ce07eb5484be845e631d6ca645b263 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Apr 2012 00:01:08 +0000 Subject: Tue Apr 10 00:01:08 UTC 2012 --- community-staging/esdl/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 community-staging/esdl/PKGBUILD (limited to 'community-staging/esdl/PKGBUILD') diff --git a/community-staging/esdl/PKGBUILD b/community-staging/esdl/PKGBUILD new file mode 100644 index 000000000..1324daaee --- /dev/null +++ b/community-staging/esdl/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: kappa + +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: -- cgit v1.2.3-54-g00ecf