libraries/gtk-sharp: Updated for version 2.12.29.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-02-03 21:12:01 +07:00
parent 6de085b322
commit 9120f38ff6
2 changed files with 11 additions and 14 deletions

View file

@ -6,7 +6,7 @@
# Updated, edited, and maintained by Donald Cooley <dfc@warpmail.net> La Porte, IN USA # Updated, edited, and maintained by Donald Cooley <dfc@warpmail.net> La Porte, IN USA
PRGNAM=gtk-sharp PRGNAM=gtk-sharp
VERSION=${VERSION:-2.12.27} VERSION=${VERSION:-2.12.29}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -48,14 +48,13 @@ if [ -e $CWD/$VERSION.tar.gz ]; then
else else
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
fi fi
cd $PRGNAM-$PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
chmod 644 HACKING
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
@ -73,13 +72,11 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a AUTHORS COPYING ChangeLog HACKING NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
AUTHORS COPYING ChangeLog HACKING NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="gtk-sharp" PRGNAM="gtk-sharp"
VERSION="2.12.27" VERSION="2.12.29"
HOMEPAGE="http://www.mono-project.com/GtkSharp" HOMEPAGE="http://www.mono-project.com/GtkSharp"
DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/gtk-sharp/gtk-sharp-2.12.27.tar.gz" DOWNLOAD="https://github.com/mono/gtk-sharp/archive/2.12.29.tar.gz"
MD5SUM="4177b5bb3eb68cf26b9fee81a019bf27" MD5SUM="0c682fbebe57ebcb5ab81c376ac657b9"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="mono" REQUIRES="mono"