summaryrefslogtreecommitdiff
path: root/graphics/qcad/qcad.SlackBuild
diff options
context:
space:
mode:
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 1cb8a1b672..d1c6dadc7f 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