mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
graphics/fritzing: Updated for version 0.9.2b.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3571f57ef2
commit
35bb94a4e4
2 changed files with 10 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue