summaryrefslogtreecommitdiff
path: root/community/love
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/love
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/love')
-rw-r--r--community/love/PKGBUILD33
-rw-r--r--community/love/love.install2
2 files changed, 7 insertions, 28 deletions
diff --git a/community/love/PKGBUILD b/community/love/PKGBUILD
index 0fc743ccc..30429d74f 100644
--- a/community/love/PKGBUILD
+++ b/community/love/PKGBUILD
@@ -2,31 +2,20 @@
# Contributor: Linus Sjögren <thelinx@unreliablepollution.net>
# Contributor: Eric Forgeot < http://anamnese.online.fr >, dreeze
pkgname=love
-pkgver=0.8.0
+pkgver=0.9.0
pkgrel=2
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')
+depends=('luajit' 'physfs' 'freetype2' 'devil' 'mpg123' 'openal' 'libvorbis' 'libmodplug' 'sdl2' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils')
install=love.install
-source=("https://bitbucket.org/rude/love/downloads/love-${pkgver}-linux-src.tar.gz"
- "https://bitbucket.org/rude/love/raw/$pkgver/license.txt"
- "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/app.svg"
- "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/game.svg"
- "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/love.desktop"
- "https://bitbucket.org/rude/love/raw/$pkgver/platform/unix/love.xml")
-md5sums=('9db9c32585fc7c7da3eba7e438783099'
- 'a4890908149d91bc042b30d00c121c58'
- 'a1e19f91420cc519a683af360f5b1120'
- '16f2ecc899c9ffc8b7b7c807f8967861'
- '971bec1bffe4f424972eef2a26d27bec'
- 'b4f00fb1cb80057a0a371a994100d418')
+source=("https://bitbucket.org/rude/love/downloads/love-${pkgver}-linux-src.tar.gz")
+md5sums=('6591752af4e33f521d616d9b048aa894')
build() {
cd "$srcdir"/love-$pkgver
- #./platform/unix/automagic
- ./configure --prefix=/usr --with-luajit #LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
+ ./configure --prefix=/usr
make
}
@@ -35,17 +24,7 @@ package() {
make DESTDIR="$pkgdir" install
- mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
- mkdir -p "$pkgdir/usr/share/icons/hicolor/scalable/mimetypes"
- mkdir -p "$pkgdir/usr/share/icons/hicolor/scalable/apps"
- mkdir -p "$pkgdir/usr/share/applications"
- mkdir -p "$pkgdir/usr/share/mime/packages"
-
- install -Dm0644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm0644 "$srcdir/app.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/love.svg"
- install -Dm0644 "$srcdir/game.svg" "$pkgdir/usr/share/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-love-game.svg"
- install -Dm0644 "$srcdir/love.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm0644 "$srcdir/love.xml" "$pkgdir/usr/share/mime/packages/love.xml"
+ install -Dm0644 "license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
diff --git a/community/love/love.install b/community/love/love.install
index dbc25459b..5badb6372 100644
--- a/community/love/love.install
+++ b/community/love/love.install
@@ -1,6 +1,6 @@
post_install() {
update-desktop-database -q
- update-mime-database usr/share/mime
+ update-mime-database usr/share/mime &> /dev/null
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}