mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/fritzing: Updated for version 0.9.1b.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0d2ecf4518
commit
91754a7d75
3 changed files with 22 additions and 23 deletions
|
@ -5,6 +5,9 @@
|
|||
|
||||
# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
|
||||
# All rights reserved.
|
||||
|
||||
# This script has been edited by R. S. Ananda Murthy, Mysore, India
|
||||
# for this version.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
|
@ -26,7 +29,7 @@
|
|||
# Revision date 2013/03/26
|
||||
|
||||
PRGNAM=fritzing
|
||||
VERSION=${VERSION:-0.8.7b}
|
||||
VERSION=${VERSION:-0.9.1b}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -63,19 +66,18 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION.source
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.source.tar.bz2
|
||||
cd $PRGNAM-$VERSION.source
|
||||
unzip $CWD/$PRGNAM-$VERSION.source.zip
|
||||
cd $PRGNAM-app-master
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
qmake \
|
||||
qmake-qt5 \
|
||||
"QMAKE_CXXFLAGS+=$SLKCFLAGS" \
|
||||
"QMAKE_CFLAGS+=$SLKCFLAGS"
|
||||
|
||||
make
|
||||
|
||||
# "install" program
|
||||
|
@ -83,10 +85,9 @@ 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 bins parts sketches translations $PKG/usr/share/$PRGNAM/
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||
|
@ -94,9 +95,7 @@ cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
|||
cat resources/images/${PRGNAM}_icon.png > $PKG/usr/share/pixmaps/$PRGNAM.png
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cp -a \
|
||||
LICENSE.* README.txt \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE.* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="fritzing"
|
||||
VERSION="0.8.7b"
|
||||
VERSION="0.9.1b"
|
||||
HOMEPAGE="http://fritzing.org/"
|
||||
DOWNLOAD="http://fritzing.org/download/0.8.7b/source-tarball/fritzing-0.8.7b.source.tar.bz2"
|
||||
MD5SUM="1f2e1f1e580c2921763aff913a2ad5aa"
|
||||
DOWNLOAD="http://fritzing.org/download/0.9.1b/source-tarball/fritzing-0.9.1b.source.zip"
|
||||
MD5SUM="3106dce73ceb5f0ca8aada00fc1784db"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Niels Horn"
|
||||
EMAIL="niels.horn@gmail.com"
|
||||
REQUIRES="qt5"
|
||||
MAINTAINER="R. S. Ananda Murthy"
|
||||
EMAIL="rsamurti@gmail.com"
|
||||
|
|
|
@ -14,6 +14,6 @@ fritzing: to actual product. It allows users to document their Arduino and other
|
|||
fritzing: electronic-based prototypes, and to create a PCB layout for
|
||||
fritzing: manufacturing.
|
||||
fritzing:
|
||||
fritzing:
|
||||
fritzing:
|
||||
fritzing: Homepage: http://fritzing.org/
|
||||
fritzing:
|
||||
fritzing:
|
||||
|
|
Loading…
Reference in a new issue