summaryrefslogtreecommitdiffstats
path: root/graphics/aaphoto/aaphoto.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/aaphoto/aaphoto.SlackBuild')
-rw-r--r--graphics/aaphoto/aaphoto.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/aaphoto/aaphoto.SlackBuild b/graphics/aaphoto/aaphoto.SlackBuild
index 2973b6f7e8..dfba6d20c9 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 \