summaryrefslogtreecommitdiff
path: root/community/esdl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-05 00:01:14 +0000
committerroot <root@rshg054.dnsready.net>2012-05-05 00:01:14 +0000
commit5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 (patch)
treeeb041f2a83edee4a597678749b22181df9a32ecb /community/esdl/PKGBUILD
parentb2c353d874b85e06f355a9419852e2616613c7d0 (diff)
Sat May 5 00:01:14 UTC 2012
Diffstat (limited to 'community/esdl/PKGBUILD')
-rw-r--r--community/esdl/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/esdl/PKGBUILD b/community/esdl/PKGBUILD
index e7b9bc920..76b5be9d6 100644
--- a/community/esdl/PKGBUILD
+++ b/community/esdl/PKGBUILD
@@ -3,37 +3,37 @@
# Contributor: kappa <kappacurve@gmail.com>
pkgname=esdl
-pkgver=1.0.1
-pkgrel=3
+pkgver=1.2
+pkgrel=1
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')
+source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/esdl/tarball/master")
+md5sums=('d51f8e2fe07b9e82ff9c2e06af35e3eb')
+_dirname='dgud-esdl-4139134'
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$_dirname"
find -type f -print0 | xargs -0 chmod 644
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$_dirname"
make INSTALLDIR="$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver" install
- ## To make wings3d compile with esdl 1.2
+ ## An attempt 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"
+ install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et: