summaryrefslogtreecommitdiff
path: root/development/love
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2018-05-01 12:06:00 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-01 22:01:21 +0100
commit22268c77db1636889c91d8249ad4401efd85d5d7 (patch)
tree6fd3ca5510730d3c705d4b6d6d721b6eb14c58db /development/love
parent215eae93b78f90e24900cd7ff3a76b8eaca9d420 (diff)
downloadslackbuilds-22268c77db1636889c91d8249ad4401efd85d5d7.tar.gz
development/love: Updated for version 11.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/love')
-rw-r--r--development/love/doinst.sh13
-rw-r--r--development/love/love.SlackBuild3
-rw-r--r--development/love/love.info8
3 files changed, 19 insertions, 5 deletions
diff --git a/development/love/doinst.sh b/development/love/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/love/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/love/love.SlackBuild b/development/love/love.SlackBuild
index 6b810c5441..b16066ae9e 100644
--- a/development/love/love.SlackBuild
+++ b/development/love/love.SlackBuild
@@ -5,7 +5,7 @@
# Written by Dugan Chen (thedoogster [at] gmail [dot] com)
PRGNAM=love
-VERSION=${VERSION:-0.10.2}
+VERSION=${VERSION:-11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,6 +78,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/love/love.info b/development/love/love.info
index 1c686d8cf1..055972cab6 100644
--- a/development/love/love.info
+++ b/development/love/love.info
@@ -1,10 +1,10 @@
PRGNAM="love"
-VERSION="0.10.2"
+VERSION="11.1"
HOMEPAGE="http://love2d.org"
-DOWNLOAD="https://bitbucket.org/rude/love/downloads/love-0.10.2-linux-src.tar.gz"
-MD5SUM="11936c4fafe666bdea077cb006c060a4"
+DOWNLOAD="https://bitbucket.org/rude/love/downloads/love-11.1-linux-src.tar.gz"
+MD5SUM="c8506ec22bc62e491818b81b8eb016aa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="DevIL OpenAL SDL2 libmodplug luajit physfs"
+REQUIRES="OpenAL SDL2 libmodplug luajit physfs"
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"