summaryrefslogtreecommitdiff
path: root/system/trashy/trashy.SlackBuild
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/trashy/trashy.SlackBuild
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/trashy/trashy.SlackBuild')
-rw-r--r--system/trashy/trashy.SlackBuild9
1 files changed, 5 insertions, 4 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 \