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.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/qcad/qcad.SlackBuild b/graphics/qcad/qcad.SlackBuild
index d1c6dadc7f..ac3026c40a 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