diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2013-06-02 11:48:52 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-06-04 00:11:24 -0500 |
commit | 7b303b1b75500999a91935f74284f51be1126d1c (patch) | |
tree | 6ecb06ca15631a5a1a0d3fc3aa878cb8634b67f9 /graphics/teighafileconverter/teighafileconverter.SlackBuild | |
parent | b018405e702e5b3916dbbe57742f9db049241232 (diff) |
graphics/teighafileconverter: Updated for version 3.08.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/teighafileconverter/teighafileconverter.SlackBuild')
-rw-r--r-- | graphics/teighafileconverter/teighafileconverter.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/teighafileconverter/teighafileconverter.SlackBuild b/graphics/teighafileconverter/teighafileconverter.SlackBuild index bb9165a5f05ce..4172d97c73c09 100644 --- a/graphics/teighafileconverter/teighafileconverter.SlackBuild +++ b/graphics/teighafileconverter/teighafileconverter.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for TeighaFileConverter -# Copyright 2012 Fridrich von Stauffenberg <cancellor2@gmail.com> +# Copyright 2012-2013 Fridrich von Stauffenberg <cancellor2@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,14 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=teighafileconverter -VERSION=${VERSION:-3.8.1} +VERSION=${VERSION:-3.08.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=i386 ORIG_PRGNAM=TeighaFileConverter -ORIG_VERSION=$(sed 's/\./\.0/' <<< $VERSION) CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -42,7 +41,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar xv $CWD/${ORIG_PRGNAM}_${VERSION}_$ARCH.deb +ar xv $CWD/${ORIG_PRGNAM}_lnxX86_4.4dll_${VERSION}_$ARCH.deb tar xvf data.tar.gz rm -f data.tar.gz control.tar.gz debian-binary chown -R root:root . @@ -50,11 +49,11 @@ find . -type d -exec chmod 755 {} \; find . \! -name '*.so' \! -name '*.tx*' -type f -exec chmod 644 {} \; mkdir -p $PKG/usr/lib -mv $PKG/usr/bin/${ORIG_PRGNAM}_$ORIG_VERSION $PKG/usr/lib/$ORIG_PRGNAM +mv $PKG/usr/bin/${ORIG_PRGNAM}_$VERSION $PKG/usr/lib/$ORIG_PRGNAM cat $CWD/$PRGNAM.sh > $PKG/usr/bin/$ORIG_PRGNAM chmod 755 $PKG/usr/bin/$ORIG_PRGNAM $PKG/usr/lib/$ORIG_PRGNAM/$ORIG_PRGNAM -mv $PKG/usr/share/applications/${ORIG_PRGNAM}{_$ORIG_VERSION,}.desktop +mv $PKG/usr/share/applications/${ORIG_PRGNAM}{_$VERSION,}.desktop sed -i 's@/usr/bin/@@g' $PKG/usr/share/applications/$ORIG_PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |