xap/fontforge: Upgraded to fontforge-20190801.
This commit is contained in:
parent
ef68f5055c
commit
2143a1301c
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
if [ -x /usr/bin/update-mime-database ]; then
|
||||
/usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
|
||||
fi
|
|
@ -0,0 +1 @@
|
|||
d92075ca783c97dc68433b1ed629b9054a4b4c74ac64c54ced7f691540f70852 fontforge-20190801.tar.gz
|
|
@ -1 +0,0 @@
|
|||
e7c235f3d0ef59196df30707e18ad1198ff7baae fontforge-dist-20160404.tar.gz
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Build script for Slackware
|
||||
# Copyright (C) 2008-2013,2015,2016 Damien Goutte-Gattat
|
||||
# Copyright (C) 2008-2013,2015,2016,2019 Damien Goutte-Gattat
|
||||
#
|
||||
# Redistribution and use of this script, with or without modifications,
|
||||
# is permitted provided that the following conditions are met:
|
||||
|
@ -27,8 +27,8 @@
|
|||
|
||||
# Source package infos
|
||||
NAMESRC=${NAMESRC:-fontforge}
|
||||
VERSION=${VERSION:-20160404}
|
||||
ARCHIVE=${ARCHIVE:-$NAMESRC-dist-$VERSION.tar.gz}
|
||||
VERSION=${VERSION:-20190801}
|
||||
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
|
||||
WGET=${WGET:-https://github.com/fontforge/fontforge/releases/download/$VERSION/$ARCHIVE}
|
||||
|
||||
# Build infos
|
||||
|
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
|
|||
wget -c -O $ARCHIVE.part "$WGET"
|
||||
mv $ARCHIVE.part $ARCHIVE
|
||||
fi
|
||||
sha1sum -c $ARCHIVE.sha1
|
||||
sha256sum -c $ARCHIVE.sha256
|
||||
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
|
||||
|
||||
# Compile
|
||||
|
@ -89,7 +89,13 @@ CXXFLAGS=$CPUOPT \
|
|||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib$LIBDIRSUFFIX \
|
||||
--mandir=/usr/man
|
||||
--mandir=/usr/man \
|
||||
--disable-static \
|
||||
--enable-python-scripting=3 \
|
||||
--enable-gdk=yes \
|
||||
--without-libuninameslist \
|
||||
--disable-dependency-tracking \
|
||||
--build=$ARCH-slackware-linux
|
||||
make -j $JOBS
|
||||
make install-strip DESTDIR=$PKG docdir=/usr/doc/$NAMEPKG-$VERSION/html
|
||||
|
||||
|
@ -99,8 +105,9 @@ find $PKG/usr/man -type f -exec gzip -9 '{}' \;
|
|||
# Install the documentation
|
||||
install -m 644 AUTHORS COPYING.gplv3 LICENSE $PKG/usr/doc/$NAMEPKG-$VERSION
|
||||
|
||||
# Copy slack-desc file
|
||||
# Copy slack-desc and file doinst.sh files
|
||||
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
|
||||
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
|
||||
|
||||
# Package the tree
|
||||
cd $PKG
|
||||
|
|
Loading…
Reference in New Issue