summaryrefslogtreecommitdiff
path: root/system/trashy/trashy.SlackBuild
diff options
context:
space:
mode:
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 \