summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-09 01:16:13 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit1a19e95dda799c39adfdd4ff88761e1c21e8db9c (patch)
tree4e14359f32c59681506fe2d187a9f7011f8ac21f
parent750bc6de82d309aea19bf1c9156c26bc430db4b5 (diff)
downloadslackbuilds-1a19e95dda799c39adfdd4ff88761e1c21e8db9c.tar.gz
graphics/fontforge: Updated for version 20150824.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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 0000000000..9830478e8c
--- /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 e34e302e98..f187b2fad0 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 305ed7f991..de9af8fd2a 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=""