summaryrefslogtreecommitdiff
path: root/academic/freechartgeany/freechartgeany.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-01-19 10:35:20 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:06 -0600
commit5d27f6696a7d6c7b168f3d4b1059703b142b46b6 (patch)
tree6bd92535f5384c46bf2d1d713cd69acbcc20c704 /academic/freechartgeany/freechartgeany.SlackBuild
parent3f61681d402292c562356650eb10f26fff878d51 (diff)
downloadslackbuilds-5d27f6696a7d6c7b168f3d4b1059703b142b46b6.tar.gz
academic/freechartgeany: Updated for version 1.1.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/freechartgeany/freechartgeany.SlackBuild')
-rw-r--r--academic/freechartgeany/freechartgeany.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/academic/freechartgeany/freechartgeany.SlackBuild b/academic/freechartgeany/freechartgeany.SlackBuild
index 19aea79ccc..be7b1fe5f4 100644
--- a/academic/freechartgeany/freechartgeany.SlackBuild
+++ b/academic/freechartgeany/freechartgeany.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=freechartgeany
-VERSION=${VERSION:-1.1.2}
+VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,15 +64,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 {} \;
# Fix paths.
sed -i \
- -e '/target.path/s|/usr/libexec/chartgeany|/usr/bin|' \
- -e "/manual.path/s|/usr/libexec/chartgeany|/usr/doc/${PRGNAM}-${VERSION}|" \
+ -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