aboutsummaryrefslogtreecommitdiff
path: root/graphics/fritzing
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2015-12-02 19:32:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-02 19:32:51 +0700
commit35bb94a4e444ca59f1061380a43e2c4346928831 (patch)
treeb783cb33fa535525146165db898d1dc4b29ad45e /graphics/fritzing
parent3571f57ef233a7ebbb5ff126038d302e358fb55f (diff)
graphics/fritzing: Updated for version 0.9.2b.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/fritzing')
-rw-r--r--graphics/fritzing/fritzing.SlackBuild15
-rw-r--r--graphics/fritzing/fritzing.info6
2 files changed, 10 insertions, 11 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
diff --git a/graphics/fritzing/fritzing.info b/graphics/fritzing/fritzing.info
index 2b1e3924abc32..65ffe6189d8df 100644
--- a/graphics/fritzing/fritzing.info
+++ b/graphics/fritzing/fritzing.info
@@ -1,8 +1,8 @@
PRGNAM="fritzing"
-VERSION="0.9.1b"
+VERSION="0.9.2b"
HOMEPAGE="http://fritzing.org/"
-DOWNLOAD="http://fritzing.org/download/0.9.1b/source-tarball/fritzing-0.9.1b.source.zip"
-MD5SUM="3106dce73ceb5f0ca8aada00fc1784db"
+DOWNLOAD="https://www.dropbox.com/s/lxu8ayjbtdd7st6/fritzing-app-master.zip"
+MD5SUM="c15a16a818a94b7ce5cdf9ccd0bd0611"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"