aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 41cde13543533..7da481b6e8549 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 469801fa9a5eb..be370a4db597b 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"