summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-03 21:12:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-05 07:02:20 +0700
commit9120f38ff69be353b48127b0d08e762911aa913e (patch)
treee90a57a817042eeef9c9ae148bba19cf0b8c3de6
parent6de085b322ee0085629ac31a91f88f1adfab6c5d (diff)
downloadslackbuilds-9120f38ff69be353b48127b0d08e762911aa913e.tar.gz
libraries/gtk-sharp: Updated for version 2.12.29.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/gtk-sharp/gtk-sharp.SlackBuild19
-rw-r--r--libraries/gtk-sharp/gtk-sharp.info6
2 files changed, 11 insertions, 14 deletions
diff --git a/libraries/gtk-sharp/gtk-sharp.SlackBuild b/libraries/gtk-sharp/gtk-sharp.SlackBuild
index 41cde13543..7da481b6e8 100644
--- a/libraries/gtk-sharp/gtk-sharp.SlackBuild
+++ b/libraries/gtk-sharp/gtk-sharp.SlackBuild
@@ -6,7 +6,7 @@
# Updated, edited, and maintained by Donald Cooley <dfc@warpmail.net> La Porte, IN USA
PRGNAM=gtk-sharp
-VERSION=${VERSION:-2.12.27}
+VERSION=${VERSION:-2.12.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,14 +48,13 @@ if [ -e $CWD/$VERSION.tar.gz ]; then
else
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
fi
-cd $PRGNAM-$PRGNAM-$VERSION
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-chmod 644 HACKING
+ \( -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -73,13 +72,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog HACKING NEWS README* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog HACKING NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/gtk-sharp/gtk-sharp.info b/libraries/gtk-sharp/gtk-sharp.info
index 469801fa9a..be370a4db5 100644
--- a/libraries/gtk-sharp/gtk-sharp.info
+++ b/libraries/gtk-sharp/gtk-sharp.info
@@ -1,8 +1,8 @@
PRGNAM="gtk-sharp"
-VERSION="2.12.27"
+VERSION="2.12.29"
HOMEPAGE="http://www.mono-project.com/GtkSharp"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/gtk-sharp/gtk-sharp-2.12.27.tar.gz"
-MD5SUM="4177b5bb3eb68cf26b9fee81a019bf27"
+DOWNLOAD="https://github.com/mono/gtk-sharp/archive/2.12.29.tar.gz"
+MD5SUM="0c682fbebe57ebcb5ab81c376ac657b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mono"