aboutsummaryrefslogtreecommitdiff
path: root/graphics/qcad/qcad.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-02-14 11:50:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-14 11:50:31 +0700
commit40662fe52667c8241a3ad6fc017b5e3123cfe5d2 (patch)
tree424d8b34f6e55c9aea3ef57245101c05fc8a3056 /graphics/qcad/qcad.SlackBuild
parent6b4ae8165b75b653359e895a4a0a2549a2d5158e (diff)
graphics/qcad: Updated for version 3.8.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/qcad/qcad.SlackBuild')
-rw-r--r--graphics/qcad/qcad.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/qcad/qcad.SlackBuild b/graphics/qcad/qcad.SlackBuild
index d1c6dadc7f17d..ac3026c40ac4d 100644
--- a/graphics/qcad/qcad.SlackBuild
+++ b/graphics/qcad/qcad.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qcad
-VERSION=${VERSION:-3.7.7.0}
+VERSION=${VERSION:-3.8.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,7 +76,8 @@ make
# Need to manually install files.
mkdir -p $PKG/usr/share/$PRGNAM $PKG/usr/bin
-cp -ar examples fonts libraries patterns plugins scripts ts $PKG/usr/share/$PRGNAM
+rm -f ts/*.ts
+cp -ar examples fonts libraries linetypes patterns plugins scripts ts $PKG/usr/share/$PRGNAM
cp release/* $PKG/usr/share/$PRGNAM
install -m 0755 $CWD/$PRGNAM.sh $PKG/usr/bin/$PRGNAM
@@ -106,14 +107,11 @@ install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
for i in 16 32 48 64 96 128; do
convert scripts/${PRGNAM}_icon.png -resize ${i}x${i}! $PRGNAM-$i.png
- install -D -m 0644 $PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
+ install -D -m 0644 $PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/$PRGNAM.png
done
-install -D -m 0644 support/logo/logo_512.svg \
- $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
# A little clean up.
-find $PKG \( -name "*\.pro" -o -name "readme.txt" -o -name "*\.pri" \
- -o -name "Makefile" -o -name "*\.ts" -o -name "\.gitignore" \) -exec rm -f '{}' \;
+find $PKG \( -name "*\.pro" -o -name "*\.pri" \) -exec rm -f '{}' \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION