aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2013-02-17 10:36:08 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-02-22 22:27:41 -0600
commitd688fc8415788ed562637268d9f58fec732b516b (patch)
tree540b8c6b4f5b158660bcc545034e2d641c9eaa88 /graphics
parentec01c607aa771ac9a0fba1ce71ee227873f3ed40 (diff)
graphics/teighaviewer: Updated for version 3.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/teighaviewer/teighaviewer.SlackBuild9
-rw-r--r--graphics/teighaviewer/teighaviewer.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/graphics/teighaviewer/teighaviewer.SlackBuild b/graphics/teighaviewer/teighaviewer.SlackBuild
index 08f60ad64a9c4..3c7f157ce69ca 100644
--- a/graphics/teighaviewer/teighaviewer.SlackBuild
+++ b/graphics/teighaviewer/teighaviewer.SlackBuild
@@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=teighaviewer
-VERSION=${VERSION:-3.7.0}
+VERSION=${VERSION:-3.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=i386
ORIG_PRGNAM=TeighaViewer
+ORIG_VERSION=$(sed 's/\./\.0/' <<< $VERSION)
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -41,7 +42,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-$VERSION.$ARCH.deb
tar xvf data.tar.gz
rm -f data.tar.gz control.tar.gz debian-binary
chown -R root:root .
@@ -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
diff --git a/graphics/teighaviewer/teighaviewer.info b/graphics/teighaviewer/teighaviewer.info
index c29dfa0c3af26..d43a0358440ad 100644
--- a/graphics/teighaviewer/teighaviewer.info
+++ b/graphics/teighaviewer/teighaviewer.info
@@ -1,8 +1,8 @@
PRGNAM="teighaviewer"
-VERSION="3.7.0"
+VERSION="3.8.1"
HOMEPAGE="http://www.opendesign.com/guestfiles/teigha_viewer"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/TeighaViewer_3.7.0_i386.deb"
-MD5SUM="edaec8eabccb1075005b901df4016b8e"
+DOWNLOAD="http://www.opendesign.com/files/guestdownloads/TeighaViewer/TeighaViewer-3.8.1.i386.deb"
+MD5SUM="1bde6388ffe976698ba3aedaf66eaa9f"
DOWNLOAD_x86_64="UNSUPPORTED"
MD5SUM_x86_64=""
REQUIRES=""