summaryrefslogtreecommitdiff
path: root/community/erlang-sdl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/erlang-sdl/PKGBUILD')
-rw-r--r--community/erlang-sdl/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/community/erlang-sdl/PKGBUILD b/community/erlang-sdl/PKGBUILD
index c7011e33b..5ab68f661 100644
--- a/community/erlang-sdl/PKGBUILD
+++ b/community/erlang-sdl/PKGBUILD
@@ -1,30 +1,29 @@
-# $Id: PKGBUILD 85286 2013-02-28 12:24:52Z arodseth $
+# $Id: PKGBUILD 85602 2013-03-03 21:28:43Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: kappa <kappacurve@gmail.com>
pkgname=erlang-sdl
pkgver=1.2
-pkgrel=6
+pkgrel=7
arch=('x86_64' 'i686')
-pkgdesc='SDL and OpenGL bindings for Erlang (r15b-driver-compat branch)'
+pkgdesc='SDL and OpenGL bindings for Erlang'
url='http://esdl.sourceforge.net/'
license=('custom')
depends=('erlang' 'sdl' 'glu' 'libgl' 'erlang')
makedepends=('mesa-libgl')
replaces=('esdl')
-source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/esdl/tar.gz/dgud/r15b-driver-compat")
-sha256sums=('a14d695229b93401a304b773874e87c02c5b304d4b5b66f35cba75e140672086')
-_dirname='esdl-dgud-r15b-driver-compat'
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dgud/esdl/archive/master.tar.gz")
+sha256sums=('6a18010e12eed2abeb9b9893a2d89586e3ff14b44fce9c15b8ed091b67709438')
build() {
- cd "$srcdir/$_dirname"
+ cd "$srcdir/esdl-master"
find -type f -print0 | xargs -0 chmod 644
make
}
package() {
- cd "$srcdir/$_dirname"
+ cd "$srcdir/esdl-master"
make INSTALLDIR="$pkgdir/usr/lib/erlang/lib/esdl-$pkgver" install
install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"