academic/freechartgeany: Updated for version 1.1.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2014-01-19 10:35:20 +07:00 committed by Erik Hanson
parent 3f61681d40
commit 5d27f6696a
2 changed files with 10 additions and 10 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=freechartgeany PRGNAM=freechartgeany
VERSION=${VERSION:-1.1.2} VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -64,15 +64,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix paths. # Fix paths.
sed -i \ sed -i \
-e '/target.path/s|/usr/libexec/chartgeany|/usr/bin|' \ -e "/target.path/s|/usr/libexec/$PRGNAM|/usr/bin|" \
-e "/manual.path/s|/usr/libexec/chartgeany|/usr/doc/${PRGNAM}-${VERSION}|" \ -e "/manual.path/s|/usr/libexec/$PRGNAM|/usr/doc/${PRGNAM}-${VERSION}|" \
FreeChartGeany.pro FreeChartGeany.pro
qmake QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile FreeChartGeany.pro qmake QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile FreeChartGeany.pro

View file

@ -1,8 +1,8 @@
PRGNAM="freechartgeany" PRGNAM="freechartgeany"
VERSION="1.1.2" VERSION="1.1.5"
HOMEPAGE="http://freechartgeany.sourceforge.net/" HOMEPAGE="http://freechartgeany.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/freechartgeany/freechartgeany-1.1.2.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/freechartgeany/freechartgeany-1.1.5.tar.gz"
MD5SUM="3a06e462419562789beff37b8f6a4315" MD5SUM="97b97e1dffe003a64d63e2b14b3a5e60"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""