updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / esdl / PKGBUILD
blobbbdac2acb3ff73f692e3b7817144d59e94cb21b1
1 # Contributor: kappa <kappacurve@gmail.com>
3 pkgname=esdl
4 pkgver=1.0.1
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc="SDL and OpenGL bindings for the Erlang programming language"
8 url="http://esdl.sourceforge.net"
9 license=('custom')
10 depends=('erlang>=R13B' 'sdl' 'mesa')
11 source=(http://downloads.sourceforge.net/esdl/$pkgname-$pkgver.src.tar.gz)
12 md5sums=('50230ea81418cb029281a70627a5dd8e')
13 build() {
14   cd ${srcdir}/${pkgname}-${pkgver}
15   find -type f -print0 | xargs -0 chmod 644
16   make || return 1
17   make INSTALLDIR=${pkgdir}/usr/lib/erlang/lib/${pkgname}-${pkgver} install || return 1
18   install -D -m 644 ${srcdir}/$pkgname-$pkgver/license.terms ${pkgdir}/usr/share/licenses/esdl/license.terms