summaryrefslogtreecommitdiff
path: root/community/erlang-sdl
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/erlang-sdl
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/erlang-sdl')
-rw-r--r--community/erlang-sdl/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/erlang-sdl/PKGBUILD b/community/erlang-sdl/PKGBUILD
new file mode 100644
index 000000000..5ab68f661
--- /dev/null
+++ b/community/erlang-sdl/PKGBUILD
@@ -0,0 +1,32 @@
+# $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=7
+arch=('x86_64' 'i686')
+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://github.com/dgud/esdl/archive/master.tar.gz")
+sha256sums=('6a18010e12eed2abeb9b9893a2d89586e3ff14b44fce9c15b8ed091b67709438')
+
+build() {
+ cd "$srcdir/esdl-master"
+
+ find -type f -print0 | xargs -0 chmod 644
+ make
+}
+
+package() {
+ cd "$srcdir/esdl-master"
+
+ make INSTALLDIR="$pkgdir/usr/lib/erlang/lib/esdl-$pkgver" install
+ install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: