summaryrefslogtreecommitdiff
path: root/multimedia/sfnt2woff/sfnt2woff.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/sfnt2woff/sfnt2woff.SlackBuild')
-rw-r--r--multimedia/sfnt2woff/sfnt2woff.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/multimedia/sfnt2woff/sfnt2woff.SlackBuild b/multimedia/sfnt2woff/sfnt2woff.SlackBuild
index bec3fdf5ba..7409780e87 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