diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-16 22:03:54 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-16 22:03:54 +0100 |
commit | d503056ff0810f0e9a4d7430dd9a99ef666240d9 (patch) | |
tree | ce61331f893f95b1d3ae90eb3ea8e00adf2aa546 /community/erlang-sdl/PKGBUILD | |
parent | 0f2c3b17c081339b0c78fc54aa64a13a6b7e7c6e (diff) | |
parent | 99c34471cedb5de3afae4e33c48239abbe1410c7 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gtk-engine-unico/PKGBUILD
community/libfm/PKGBUILD
community/lxlauncher/PKGBUILD
community/lxpanel/PKGBUILD
community/ncmpcpp/PKGBUILD
community/sshguard/PKGBUILD
Diffstat (limited to 'community/erlang-sdl/PKGBUILD')
-rw-r--r-- | community/erlang-sdl/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/erlang-sdl/PKGBUILD b/community/erlang-sdl/PKGBUILD new file mode 100644 index 000000000..6b914718e --- /dev/null +++ b/community/erlang-sdl/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 79997 2012-11-15 11:48:24Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: kappa <kappacurve@gmail.com> + +pkgname=erlang-sdl +pkgver=1.2 +pkgrel=1 +arch=('x86_64' 'i686') +pkgdesc='SDL and OpenGL bindings for Erlang (r15b-driver-compat branch)' +url='http://esdl.sourceforge.net/' +license=('custom') +depends=('erlang' 'sdl' 'glu') +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' + +build() { + cd "$srcdir/$_dirname" + + find -type f -print0 | xargs -0 chmod 644 + make +} + +package() { + cd "$srcdir/$_dirname" + + make INSTALLDIR="$pkgdir/usr/lib/erlang/lib/esdl-$pkgver" install + + ## 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/esdl-$pkgver/include/glu.hrl" + #ln -s /usr/lib/erlang/lib/wx-0.99/include/gl.hrl \ + # "$pkgdir/usr/lib/erlang/lib/esdl-$pkgver/include/gl.hrl" + + install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |