aboutsummaryrefslogtreecommitdiff
path: root/graphics/aaphoto
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2023-04-28 01:45:41 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 18:11:39 +0700
commit71f7c0fc02804cf697659ff3c4977b64a609d392 (patch)
tree4869072b2c4bde85f49473943b3385f4ba7ea217 /graphics/aaphoto
parent813240c962f1e1e4490d56fad3ffe7263f7377a1 (diff)
graphics/aaphoto: Change DOWNLOAD.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/aaphoto')
-rw-r--r--graphics/aaphoto/aaphoto.SlackBuild12
-rw-r--r--graphics/aaphoto/aaphoto.info6
-rw-r--r--graphics/aaphoto/slack-desc2
3 files changed, 9 insertions, 11 deletions
diff --git a/graphics/aaphoto/aaphoto.SlackBuild b/graphics/aaphoto/aaphoto.SlackBuild
index 2973b6f7e8c0..dfba6d20c9b3 100644
--- a/graphics/aaphoto/aaphoto.SlackBuild
+++ b/graphics/aaphoto/aaphoto.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for aaphoto
-# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2020-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aaphoto
VERSION=${VERSION:-0.45}
+COMMIT="ad4fc3c04b9e25212d78c231e1507458dfea8909" # this is ver. 0.45
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -65,9 +63,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_sources_$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/${PRGNAM}-${COMMIT}.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/graphics/aaphoto/aaphoto.info b/graphics/aaphoto/aaphoto.info
index 62abdd1b9d44..615764b7e0b4 100644
--- a/graphics/aaphoto/aaphoto.info
+++ b/graphics/aaphoto/aaphoto.info
@@ -1,8 +1,8 @@
PRGNAM="aaphoto"
VERSION="0.45"
-HOMEPAGE="http://log69.com/aaphoto_en.html"
-DOWNLOAD="http://log69.com/downloads/aaphoto_sources_0.45.tar.gz"
-MD5SUM="cfbc454e803991a248827ff635e436db"
+HOMEPAGE="https://github.com/log69/aaphoto"
+DOWNLOAD="https://github.com/log69/aaphoto/archive/ad4fc3c/aaphoto-ad4fc3c04b9e25212d78c231e1507458dfea8909.tar.gz"
+MD5SUM="6296b7f842df7f9feb11cefe64dfc068"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/aaphoto/slack-desc b/graphics/aaphoto/slack-desc
index f55976efb142..bd41423d920b 100644
--- a/graphics/aaphoto/slack-desc
+++ b/graphics/aaphoto/slack-desc
@@ -14,6 +14,6 @@ aaphoto: look better. The program does this by analyzing the input image and
aaphoto: then sets the most optimal contrast, gamma, color balance and
aaphoto: saturation for it.
aaphoto:
-aaphoto: Homepage: http://log69.com/aaphoto_en.html
+aaphoto: Homepage: https://github.com/log69/aaphoto
aaphoto:
aaphoto: