blob: 1968dac35c2cd5e6cefe878f4d0a7846e7250ad4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 85286 2013-02-28 12:24:52Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: kappa <kappacurve@gmail.com>
pkgname=erlang-sdl
pkgver=1.2
pkgrel=6
arch=('x86_64' 'i686' 'mips64el')
pkgdesc='SDL and OpenGL bindings for Erlang (r15b-driver-compat branch)'
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'
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
install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|