mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/winetricks: Updated for version 20150331.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
dee20f5e5c
commit
a889f62245
2 changed files with 29 additions and 9 deletions
|
@ -25,7 +25,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=winetricks
|
||||
VERSION=${VERSION:-20141130}
|
||||
VERSION=${VERSION:-20150331}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -36,18 +36,38 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DOCS="README Makefile tests/* src/*.sh src/COPYING"
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $PKG $OUTPUT
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
if [ -e $CWD/$VERSION.tar.gz ]; then
|
||||
tar xvf $CWD/$VERSION.tar.gz
|
||||
else
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
fi
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
xzcat $CWD/$PRGNAM-$VERSION.xz > $PKG/usr/bin/$PRGNAM
|
||||
mkdir -p $PKG/usr/bin/
|
||||
cp src/$PRGNAM $PKG/usr/bin/
|
||||
chmod 0755 $PKG/usr/bin/$PRGNAM
|
||||
|
||||
mkdir -p $PKG/usr/man/man1/
|
||||
cp src/$PRGNAM.1 $PKG/usr/man/man1/
|
||||
find $PKG/usr/man -type f -exec gzip -9 '{}' \;
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
mkdir $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="winetricks"
|
||||
VERSION="20141130"
|
||||
VERSION="20150331"
|
||||
HOMEPAGE="http://winetricks.org/"
|
||||
DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/winetricks/winetricks-20141130.xz"
|
||||
MD5SUM="b8fe4c787f166875c1ca88a77385e62b"
|
||||
DOWNLOAD="https://github.com/Winetricks/winetricks/archive/20150331.tar.gz"
|
||||
MD5SUM="ff2a9c68a35973c7432ccd011c965555"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="cabextract wine"
|
||||
|
|
Loading…
Reference in a new issue