diff options
author | root <root@rshg054.dnsready.net> | 2012-04-02 00:01:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-02 00:01:14 +0000 |
commit | 8ebbe4e4befac1396a153b356fc9793655dde4ff (patch) | |
tree | b957bcef566f4da47b8d4a406c64837ec6e3b2e7 /community/esdl/PKGBUILD | |
parent | 939efb693a8b362edc0c6ccba62c5ce54fb501af (diff) |
Mon Apr 2 00:01:14 UTC 2012
Diffstat (limited to 'community/esdl/PKGBUILD')
-rw-r--r-- | community/esdl/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/esdl/PKGBUILD b/community/esdl/PKGBUILD new file mode 100644 index 000000000..d488c8ad8 --- /dev/null +++ b/community/esdl/PKGBUILD @@ -0,0 +1,38 @@ +# $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.2 +pkgrel=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=('3e96c1d47bd7c1e23285360d88ce1bea') + +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 + 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: |