aboutsummaryrefslogtreecommitdiff
path: root/graphics/fritzing/fritzing.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fritzing/fritzing.SlackBuild')
-rw-r--r--graphics/fritzing/fritzing.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/fritzing/fritzing.SlackBuild b/graphics/fritzing/fritzing.SlackBuild
index 8714f8d9881ef..fed7d25e94e60 100644
--- a/graphics/fritzing/fritzing.SlackBuild
+++ b/graphics/fritzing/fritzing.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for fritzing
+# Slackware build script for Fritzing
# electronic prototyping
# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
@@ -29,7 +29,7 @@
# Revision date 2013/03/26
PRGNAM=fritzing
-VERSION=${VERSION:-0.9.1b}
+VERSION=${VERSION:-0.9.2b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,8 +65,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION.source
-unzip $CWD/$PRGNAM-$VERSION.source.zip
+rm -rf $PRGNAM-app-master
+unzip $CWD/$PRGNAM-app-master.zip
cd $PRGNAM-app-master
chown -R root:root .
find -L . \
@@ -75,9 +75,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake-qt5 \
- "QMAKE_CXXFLAGS+=$SLKCFLAGS" \
- "QMAKE_CFLAGS+=$SLKCFLAGS"
+qmake-qt5
make
# "install" program
@@ -85,7 +83,8 @@ mkdir -p $PKG/usr/bin
cp Fritzing $PKG/usr/bin/
# "install" data
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a bins parts sketches translations $PKG/usr/share/$PRGNAM/
+cp -a parts sketches translations help $PKG/usr/share/$PRGNAM/
+mv $PKG/usr/share/$PRGNAM/parts/bins $PKG/usr/share/$PRGNAM/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true