aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-09 23:06:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-09 23:06:59 +0700
commit0817e07b72a7113cb858c507bc85ba95fa2cd70f (patch)
treecba8db9dea5995e2cc050d3f849d0f71a82531de /multimedia
parentad5a1147f1e7bc118b4abe5cf22a34a182a44014 (diff)
multimedia/sfnt2woff: Updated for version 2009.10.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/sfnt2woff/sfnt2woff.SlackBuild13
-rw-r--r--multimedia/sfnt2woff/sfnt2woff.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/multimedia/sfnt2woff/sfnt2woff.SlackBuild b/multimedia/sfnt2woff/sfnt2woff.SlackBuild
index bec3fdf5ba4a..7409780e8729 100644
--- a/multimedia/sfnt2woff/sfnt2woff.SlackBuild
+++ b/multimedia/sfnt2woff/sfnt2woff.SlackBuild
@@ -24,9 +24,8 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sfnt2woff
-VERSION=${VERSION:-2009.10.04}
-DOCVERSION=${DOCVERSION:-2009-10-03}
-SRCARCHIVE=woff-code-latest.zip # I blame upstream for this
+VERSION=${VERSION:-2009.10.03}
+SRCVER=20091003
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,10 +57,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-unzip $CWD/$SRCARCHIVE
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,7 +78,6 @@ mkdir -p $PKG/usr/bin
cp -a sfnt2woff woff2sfnt $PKG/usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a woff-$DOCVERSION.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/sfnt2woff/sfnt2woff.info b/multimedia/sfnt2woff/sfnt2woff.info
index f37cbc09e590..d3519bed9f2c 100644
--- a/multimedia/sfnt2woff/sfnt2woff.info
+++ b/multimedia/sfnt2woff/sfnt2woff.info
@@ -1,7 +1,7 @@
PRGNAM="sfnt2woff"
-VERSION="2009.10.04"
-HOMEPAGE="https://github.com/kseo/sfnt2woff"
-DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/woff/woff-code-latest.zip/1dcdbc9a7f48086185740c185d822279/woff-code-latest.zip"
+VERSION="2009.10.03"
+HOMEPAGE="https://github.com/wget/sfnt2woff"
+DOWNLOAD="https://github.com/wget/sfnt2woff/archive/20091003/sfnt2woff-20091003.tar.gz"
MD5SUM="1dcdbc9a7f48086185740c185d822279"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""