aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fontforge/doinst.sh14
-rw-r--r--graphics/fontforge/fontforge.SlackBuild8
-rw-r--r--graphics/fontforge/fontforge.info6
3 files changed, 22 insertions, 6 deletions
diff --git a/graphics/fontforge/doinst.sh b/graphics/fontforge/doinst.sh
new file mode 100644
index 0000000000000..9830478e8cc75
--- /dev/null
+++ b/graphics/fontforge/doinst.sh
@@ -0,0 +1,14 @@
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index e34e302e98563..f187b2fad09a8 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -2,9 +2,8 @@
# Slackware build script for fontforge
-# Copyright 2006-2012 Robby Workman Northport, Alabama, USA
+# Copyright 2006-2012,2016 Robby Workman Tuscaloosa, Alabama, USA
# All rights reserved.
-# Currently maintained by David Woodfall <dave@dawoodfall.net>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,8 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Currently maintained by David Woodfall <dave@dawoodfall.net>
+
PRGNAM=fontforge
-VERSION=${VERSION:-20141126}
+VERSION=${VERSION:-20150824}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -116,6 +117,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \;
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/graphics/fontforge/fontforge.info b/graphics/fontforge/fontforge.info
index 305ed7f9912ab..de9af8fd2ab07 100644
--- a/graphics/fontforge/fontforge.info
+++ b/graphics/fontforge/fontforge.info
@@ -1,10 +1,10 @@
PRGNAM="fontforge"
-VERSION="20141126"
+VERSION="20150824"
HOMEPAGE="http://fontforge.sourceforge.net/"
-DOWNLOAD="http://unrealize.co.uk/source/fontforge-20141126.tar.gz \
+DOWNLOAD="https://github.com/fontforge/fontforge/releases/download/20150824/fontforge-20150824.tar.gz \
http://fontforge.sf.net/cidmaps.tgz \
http://mirrors.slackware.com/slackware/slackware-current/source/l/freetype/freetype-2.6.2.tar.xz"
-MD5SUM="eaf134632c6c3a1a9c2cf8c8026a0c4a \
+MD5SUM="74c49c73822d642b0511718d8eeb2210 \
063691163e592515b31514515bb3ce8c \
66138012494231271aec95dc28571745"
DOWNLOAD_x86_64=""