aboutsummaryrefslogtreecommitdiff
path: root/system/trash
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-12 03:49:33 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-13 09:17:48 +0700
commit4fcccfc52c3c5aab41a5c477bc922cc1b6c36785 (patch)
tree93666fff50cf4eeeba0cf09dc74ee2b276a063d7 /system/trash
parentc278ab1123d48cdeb60e3a22c3dd1e64865d6be2 (diff)
system/trash: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/trash')
-rw-r--r--system/trash/trash.SlackBuild9
-rw-r--r--system/trash/trash.info2
2 files changed, 2 insertions, 9 deletions
diff --git a/system/trash/trash.SlackBuild b/system/trash/trash.SlackBuild
index 12cea100517e..bbbfdecc2422 100644
--- a/system/trash/trash.SlackBuild
+++ b/system/trash/trash.SlackBuild
@@ -30,9 +30,6 @@ TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# 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
@@ -51,11 +48,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-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 {} \;
+chmod 644 *
mkdir -p $PKG/usr/bin
cp "$PRGNAM" $PKG/usr/bin
diff --git a/system/trash/trash.info b/system/trash/trash.info
index 943901522134..16aed3c730c7 100644
--- a/system/trash/trash.info
+++ b/system/trash/trash.info
@@ -1,7 +1,7 @@
PRGNAM="trash"
VERSION="1.4"
HOMEPAGE="https://notabug.org/jeffersonrocha/trash"
-DOWNLOAD="https://notabug.org/jeffersonrocha/trash/raw/master/trash-1.4.tar.xz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/trash-1.4.tar.xz"
MD5SUM="70dcab86f05df9d9ff2b4cdd64087cfa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""