aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2019-10-26 18:09:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-26 18:51:55 +0700
commit24dac98049c607caa2ee947c81cc41a2ee9957e6 (patch)
tree4508ea6bde045fa016c12a7adb029c9aedc68f92
parentb2ef647edcd9d5ef01eb730140408fc69d323ed3 (diff)
graphics/deskew: Updated for version 1.30.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/deskew/deskew.SlackBuild8
-rw-r--r--graphics/deskew/deskew.info8
2 files changed, 9 insertions, 7 deletions
diff --git a/graphics/deskew/deskew.SlackBuild b/graphics/deskew/deskew.SlackBuild
index 7796d08a7c39..747820d38023 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/
diff --git a/graphics/deskew/deskew.info b/graphics/deskew/deskew.info
index 931110d58b2e..d8b3eea7b33b 100644
--- a/graphics/deskew/deskew.info
+++ b/graphics/deskew/deskew.info
@@ -1,8 +1,8 @@
PRGNAM="deskew"
-VERSION="1.25"
-HOMEPAGE="http://galfar.vevb.net/deskew"
-DOWNLOAD="http://galfar.vevb.net/wp/download/deskew-125.zip"
-MD5SUM="e48206c203a9569ad7334707d6786ed0"
+VERSION="1.30"
+HOMEPAGE="https://galfar.vevb.net/deskew"
+DOWNLOAD="https://github.com/galfar/deskew/archive/v1.30/deskew-1.30.tar.gz"
+MD5SUM="de0d3dd9f93f09c86b03496f52cf5281"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fpc"