summaryrefslogtreecommitdiffstats
path: root/graphics/deskew/deskew.SlackBuild
diff options
context:
space:
mode:
author Alexander Verbovetsky <alik@ejik.org>2019-10-26 18:09:46 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-26 18:51:55 +0700
commit24dac98049c607caa2ee947c81cc41a2ee9957e6 (patch)
tree4508ea6bde045fa016c12a7adb029c9aedc68f92 /graphics/deskew/deskew.SlackBuild
parentb2ef647edcd9d5ef01eb730140408fc69d323ed3 (diff)
downloadslackbuilds-24dac98049c607caa2ee947c81cc41a2ee9957e6.tar.gz
slackbuilds-24dac98049c607caa2ee947c81cc41a2ee9957e6.tar.xz
graphics/deskew: Updated for version 1.30.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/deskew/deskew.SlackBuild')
-rw-r--r--graphics/deskew/deskew.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/deskew/deskew.SlackBuild b/graphics/deskew/deskew.SlackBuild
index 7796d08a7c..747820d380 100644
--- a/graphics/deskew/deskew.SlackBuild
+++ b/graphics/deskew/deskew.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=deskew
-VERSION=${VERSION:-1.25}
+VERSION=${VERSION:-1.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,8 +46,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/bin/ $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip -d $PRGNAM-$VERSION $CWD/$PRGNAM-${VERSION/./}.zip
-cd $PRGNAM-$VERSION/Deskew
+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 \
@@ -55,8 +55,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+cd Scripts
chmod 755 compile.sh
./compile.sh
+cd ..
install -m 0755 -o root -g root Bin/deskew $PKG/usr/bin/