diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2015-03-27 15:43:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-03-27 15:43:18 +0700 |
commit | 8df6a9412eb30c58072451a17f3482885222657d (patch) | |
tree | 85ff4c66ca6bd84c3e303f8df49ba2b067542b96 /graphics | |
parent | d27cd40a4b04a0d55164385c3d2164a3f0aabcfe (diff) |
graphics/yagf: Updated for version 0.9.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/yagf/yagf.SlackBuild | 13 | ||||
-rw-r--r-- | graphics/yagf/yagf.info | 6 |
2 files changed, 9 insertions, 10 deletions
diff --git a/graphics/yagf/yagf.SlackBuild b/graphics/yagf/yagf.SlackBuild index 41249e673ff6f..ebc458a9c9b55 100644 --- a/graphics/yagf/yagf.SlackBuild +++ b/graphics/yagf/yagf.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for yagf -# Copyright 2009-2014 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2009-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=yagf -VERSION=${VERSION:-0.9.3.2} +VERSION=${VERSION:-0.9.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,12 +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 desktop menu item. -sed -i -e '/\[lt\]/,/\[pl\]/d' -e 's|OCR;|OCR;Graphics;Scanning;|' YAGF.desktop -# Turn on tiff support. -sed -i 's|MPTIFF_SUPPORT false|MPTIFF_SUPPORT true|' CMakeLists.txt +sed -i 's|OCR;|OCR;Graphics;Scanning;|' YAGF.desktop mkdir -p build cd build @@ -87,13 +85,14 @@ cd build make install DESTDIR=$PKG cd .. -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog COPYING DESCRIPTION README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 '{}' \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/graphics/yagf/yagf.info b/graphics/yagf/yagf.info index 3139cd5f3a5d0..b7b89bc14d841 100644 --- a/graphics/yagf/yagf.info +++ b/graphics/yagf/yagf.info @@ -1,8 +1,8 @@ PRGNAM="yagf" -VERSION="0.9.3.2" +VERSION="0.9.5" HOMEPAGE="http://symmetrica.net/cuneiform-linux/yagf-en.html" -DOWNLOAD="http://symmetrica.net/cuneiform-linux/yagf-0.9.3.2.tar.gz" -MD5SUM="f36a0f318e331652a441f7751e06590d" +DOWNLOAD="http://downloads.sourceforge.net/yagf-ocr/yagf-0.9.5.tar.gz" +MD5SUM="cc01d671fafbfa71fad3d95591ccca37" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cuneiform" |