aboutsummaryrefslogtreecommitdiff
path: root/graphics/qcad/qcad.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-02-05 05:13:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-05 06:47:43 +0700
commitb73456910b7c7b26504cb8ea777ec4a08bc8ffce (patch)
tree0beffff63eba284deb8e43d343e7c26d48c5f99a /graphics/qcad/qcad.SlackBuild
parent639bac5b9fa8ccdc4cb3850b102c41e29e1014ee (diff)
graphics/qcad: Updated for version 3.7.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/qcad/qcad.SlackBuild')
-rw-r--r--graphics/qcad/qcad.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/qcad/qcad.SlackBuild b/graphics/qcad/qcad.SlackBuild
index 1cb8a1b672be..d1c6dadc7f17 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.5.0}
+VERSION=${VERSION:-3.7.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,7 +76,6 @@ make
# Need to manually install files.
mkdir -p $PKG/usr/share/$PRGNAM $PKG/usr/bin
-rm -f ts/*.ts
cp -ar examples fonts libraries patterns plugins scripts ts $PKG/usr/share/$PRGNAM
cp release/* $PKG/usr/share/$PRGNAM
install -m 0755 $CWD/$PRGNAM.sh $PKG/usr/bin/$PRGNAM
@@ -107,11 +106,14 @@ 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}/$PRGNAM.png
+ install -D -m 0644 $PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$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" \) -exec rm -f '{}' \;
+find $PKG \( -name "*\.pro" -o -name "readme.txt" -o -name "*\.pri" \
+ -o -name "Makefile" -o -name "*\.ts" -o -name "\.gitignore" \) -exec rm -f '{}' \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION