diff options
Diffstat (limited to 'academic')
-rw-r--r-- | academic/freechartgeany/freechartgeany.SlackBuild | 20 | ||||
-rw-r--r-- | academic/freechartgeany/freechartgeany.info | 6 |
2 files changed, 11 insertions, 15 deletions
diff --git a/academic/freechartgeany/freechartgeany.SlackBuild b/academic/freechartgeany/freechartgeany.SlackBuild index be7b1fe5f4c2..52d22d33684c 100644 --- a/academic/freechartgeany/freechartgeany.SlackBuild +++ b/academic/freechartgeany/freechartgeany.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for freechartgeany -# Copyright 2012-2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2012-2015 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=freechartgeany -VERSION=${VERSION:-1.1.5} +VERSION=${VERSION:-2.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,15 +67,10 @@ 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix paths. -sed -i \ - -e "/target.path/s|/usr/libexec/$PRGNAM|/usr/bin|" \ - -e "/manual.path/s|/usr/libexec/$PRGNAM|/usr/doc/${PRGNAM}-${VERSION}|" \ - FreeChartGeany.pro - -qmake QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile FreeChartGeany.pro +qmake QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \ + -o Makefile FreeChartGeany.pro make make install INSTALL_ROOT=$PKG @@ -84,13 +79,14 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Install .desktop item and icons. -sed -i "/^Icon/s|=.*|=${PRGNAM}|" $PRGNAM.desktop -install -D -m 0644 $PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop +sed -i "/^Icon/s|=.*|=${PRGNAM}|" $PKG/usr/share/applications/$PRGNAM.desktop +rm -rf $PKG/usr/share/pixmaps for i in 16 32 64 128; do install -D -m 0644 images/icons/logo${i}.png \ $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png done +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING images/icons/Readme.rtf licenses/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/academic/freechartgeany/freechartgeany.info b/academic/freechartgeany/freechartgeany.info index 12af7cf666c4..432a9bf37be1 100644 --- a/academic/freechartgeany/freechartgeany.info +++ b/academic/freechartgeany/freechartgeany.info @@ -1,8 +1,8 @@ PRGNAM="freechartgeany" -VERSION="1.1.5" +VERSION="2.0.2" HOMEPAGE="http://freechartgeany.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/freechartgeany/freechartgeany-1.1.5.tar.gz" -MD5SUM="97b97e1dffe003a64d63e2b14b3a5e60" +DOWNLOAD="http://downloads.sourceforge.net/freechartgeany/freechartgeany-2.0.2.tar.gz" +MD5SUM="a555a88787105921a40c65e2667be560" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |