mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
system/winetricks: Updated for version 20120923.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
729ec80758
commit
60159b2e83
3 changed files with 7 additions and 21 deletions
|
@ -2,5 +2,4 @@ winetricks is a quick and dirty script to download and install
|
|||
various redistributable runtime libraries sometimes needed to
|
||||
run programs in Wine.
|
||||
|
||||
This build script uses a snapshot script that was
|
||||
downloaded and is hosted by the script maintainer.
|
||||
This build script uses a snapshot of the winetricks script.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="winetricks"
|
||||
VERSION="20110429"
|
||||
HOMEPAGE="http://winetricks.org/"
|
||||
DOWNLOAD="http://www.ginoepri.com/linux/winetricks-20110429.tar.gz"
|
||||
MD5SUM="ba03214a70ee9fe67c56149d38faeedc"
|
||||
DOWNLOAD="ftp://harrier.slackbuilds.org/misc/winetricks-20120923.xz"
|
||||
MD5SUM="18e1cdf9cddd8df0cacb52106d5e3dd0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="cabextract wine"
|
||||
|
|
Loading…
Reference in a new issue