summaryrefslogtreecommitdiff
path: root/system/winetricks/winetricks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/winetricks/winetricks.SlackBuild')
-rw-r--r--system/winetricks/winetricks.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/system/winetricks/winetricks.SlackBuild b/system/winetricks/winetricks.SlackBuild
index dbcae4c043..6a3ef11b6d 100644
--- a/system/winetricks/winetricks.SlackBuild
+++ b/system/winetricks/winetricks.SlackBuild
@@ -23,11 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=winetricks
-VERSION=${VERSION:-20110429}
+VERSION=${VERSION:-20120923}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# No flags/configure needed because it is writen in shell script programing language.
ARCH=noarch
CWD=$(pwd)
@@ -38,24 +37,12 @@ OUTPUT=${OUTPUT:-/tmp}
set -e # Exit on most errors
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+mkdir -p $PKG $OUTPUT
-# Simple copy script program
mkdir -p $PKG/usr/bin
-chmod 0755 $PRGNAM
-cp -a $PRGNAM $PKG/usr/bin
+xzcat $CWD/$PRGNAM-$VERSION.xz > $PKG/usr/bin/$PRGNAM
+chmod 0755 $PKG/usr/bin/$PRGNAM
-# Copy documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild