summaryrefslogtreecommitdiffstats
path: root/graphics/yagf/yagf.SlackBuild
diff options
context:
space:
mode:
author Larry Hajali <larryhaja[at]gmail[dot]com>2011-12-20 09:05:00 -0200
committer Robby Workman <rworkman@slackbuilds.org>2011-12-22 00:02:51 -0600
commit48b4a977160c8e3cea7a7f8e72fd4aceda433a13 (patch)
tree3b6bc9fc63f2f97d0b3f3b688f0afe53c70c9421 /graphics/yagf/yagf.SlackBuild
parentfb0247c8b00ba2a1fb4efa1b914a5b60578bafb9 (diff)
downloadslackbuilds-48b4a977160c8e3cea7a7f8e72fd4aceda433a13.tar.gz
slackbuilds-48b4a977160c8e3cea7a7f8e72fd4aceda433a13.tar.xz
graphics/yagf: Updated for version 0.8.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/yagf/yagf.SlackBuild')
-rw-r--r--graphics/yagf/yagf.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/yagf/yagf.SlackBuild b/graphics/yagf/yagf.SlackBuild
index efe8cc088a..88b41ea4da 100644
--- a/graphics/yagf/yagf.SlackBuild
+++ b/graphics/yagf/yagf.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=yagf
-VERSION=${VERSION:-0.8.4}
+VERSION=${VERSION:-0.8.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,9 +41,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-Source
-tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
-cd $PRGNAM-$VERSION-Source
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,15 +52,12 @@ find . \
-exec chmod 644 {} \;
# Fix desktop menu item.
-sed -i 's|true|false|' YAGF.desktop
-
-# Make translations. Cmake doesn't handle them properly.
-lrelease src/*.ts
-mv src/*.qm .
+sed -i -e 's|true|false|' -e 's|OCR;|OCR;Graphics;Scanning;|' YAGF.desktop
+echo "" >> YAGF.desktop
mkdir -p build
cd build
- cmake \
+ cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DLIB_PATH_SUFFIX="$LIBDIRSUFFIX" \
-DCPACK_BINARY_TGZ=ON \