summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-01 07:23:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:59:46 +0700
commit6a2cf7478eca8d9a644afc1c4876398c2cad8518 (patch)
tree9ab338c19e479ccd99e3628e92e2e600e4760452 /system
parent8b13e647fdb9b21bb0787e59a67a2d35e7f93635 (diff)
downloadslackbuilds-6a2cf7478eca8d9a644afc1c4876398c2cad8518.tar.gz
system/trashy: Updated for version 2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/trashy/trashy.SlackBuild9
-rw-r--r--system/trashy/trashy.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/system/trashy/trashy.SlackBuild b/system/trashy/trashy.SlackBuild
index 6a97de8884..b1574e0558 100644
--- a/system/trashy/trashy.SlackBuild
+++ b/system/trashy/trashy.SlackBuild
@@ -10,7 +10,8 @@
# without any warranty.
PRGNAM=trashy
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-2.0}
+COMMITVER=e116660f82c695c4c5b86b06030eacea12621573
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -27,9 +28,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-master-*
-tar xvf $CWD/archive.tar.bz2 || tar xvf $CWD/trashy-master-*.tar.bz2
-cd $PRGNAM-master-*
+rm -rf $PRGNAM-$VERSION-$COMMITVER
+tar xvf $CWD/archive.tar.bz2\?ref\=$VERSION || tar xvf $CWD/trashy-$VERSION-$COMMITVER.tar.bz2
+cd $PRGNAM-$VERSION-$COMMITVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/system/trashy/trashy.info b/system/trashy/trashy.info
index 7a36c1e287..7464a63277 100644
--- a/system/trashy/trashy.info
+++ b/system/trashy/trashy.info
@@ -1,8 +1,8 @@
PRGNAM="trashy"
-VERSION="1.0"
+VERSION="2.0"
HOMEPAGE="http://slackermedia.info/trashy"
-DOWNLOAD="https://gitlab.com/trashy/trashy/repository/archive.tar.bz2"
-MD5SUM="d7db2ed968b2efa3e28e3c0e0c534e1e"
+DOWNLOAD="https://gitlab.com/trashy/trashy/repository/archive.tar.bz2?ref=2.0"
+MD5SUM="45737aabc31dae7fa120b349de491797"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""