summaryrefslogtreecommitdiff
path: root/graphics/teighafileconverter/teighafileconverter.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2013-02-17 10:36:54 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-02-22 22:27:41 -0600
commitbca2f5101a3f99663703f526a531edb30fc5cbe2 (patch)
tree1e3c025992d12ed2dd8ad09e4aa98b8725f90ed7 /graphics/teighafileconverter/teighafileconverter.SlackBuild
parentd688fc8415788ed562637268d9f58fec732b516b (diff)
downloadslackbuilds-bca2f5101a3f99663703f526a531edb30fc5cbe2.tar.gz
graphics/teighafileconverter: Updated for version 3.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/teighafileconverter/teighafileconverter.SlackBuild')
-rw-r--r--graphics/teighafileconverter/teighafileconverter.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/teighafileconverter/teighafileconverter.SlackBuild b/graphics/teighafileconverter/teighafileconverter.SlackBuild
index 5cdde0042d..bb9165a5f0 100644
--- a/graphics/teighafileconverter/teighafileconverter.SlackBuild
+++ b/graphics/teighafileconverter/teighafileconverter.SlackBuild
@@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=teighafileconverter
-VERSION=${VERSION:-3.7.0}
+VERSION=${VERSION:-3.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=i386
ORIG_PRGNAM=TeighaFileConverter
+ORIG_VERSION=$(sed 's/\./\.0/' <<< $VERSION)
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -49,11 +50,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}_$VERSION $PKG/usr/lib/$ORIG_PRGNAM
+mv $PKG/usr/bin/${ORIG_PRGNAM}_$ORIG_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}{_$VERSION,}.desktop
+mv $PKG/usr/share/applications/${ORIG_PRGNAM}{_$ORIG_VERSION,}.desktop
sed -i 's@/usr/bin/@@g' $PKG/usr/share/applications/$ORIG_PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION