diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/love08 | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/love08')
-rw-r--r-- | community/love08/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/love08/PKGBUILD b/community/love08/PKGBUILD new file mode 100644 index 000000000..245a75b9f --- /dev/null +++ b/community/love08/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Linus Sjögren <thelinx@unreliablepollution.net> +# Contributor: Eric Forgeot < http://anamnese.online.fr >, dreeze +pkgname=love08 +pkgver=0.8.0 +pkgrel=1 +pkgdesc="An open-source 2D game engine which uses the versatile Lua scripting language to create dynamic gaming experiences" +arch=(i686 x86_64) +url="http://love2d.org/" +license=('zlib') +depends=('luajit' 'physfs' 'freetype2' 'devil' 'mpg123' 'openal' 'libvorbis' 'libmodplug' 'sdl' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils' 'libgl' 'glu') +makedepends=('mesa') +source=("https://bitbucket.org/rude/love/downloads/love-${pkgver}-linux-src.tar.gz") +md5sums=('9db9c32585fc7c7da3eba7e438783099') + +build() { + cd "$srcdir"/love-$pkgver + sed -i "s|freetype/|freetype2/|g" src/modules/font/freetype/{TrueTypeRasterizer.h,Font.h} + ./configure --program-suffix=08 --prefix=/usr --with-luajit + make +} + +package() { + cd "$srcdir"/love-$pkgver + + make DESTDIR="$pkgdir" install + + install -Dm0644 "license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |