summaryrefslogtreecommitdiff
path: root/academic/freechartgeany/freechartgeany.SlackBuild
diff options
context:
space:
mode:
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