aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/gtk-sharp/gtk-sharp.SlackBuild39
-rw-r--r--libraries/gtk-sharp/gtk-sharp.info8
-rw-r--r--libraries/gtk-sharp/slack-desc2
3 files changed, 34 insertions, 15 deletions
diff --git a/libraries/gtk-sharp/gtk-sharp.SlackBuild b/libraries/gtk-sharp/gtk-sharp.SlackBuild
index a42248753f5a4..7a4aae7e0cf99 100644
--- a/libraries/gtk-sharp/gtk-sharp.SlackBuild
+++ b/libraries/gtk-sharp/gtk-sharp.SlackBuild
@@ -2,11 +2,28 @@
# Slackware build script for gtk-sharp
-# Written by (crocket) (crockabiscuit@gmail.com)
-# copyright 2017 Donald Cooley South Haven, Indiana USA
+# Copyright 2017-2018 Donald Cooley South Haven, Indiana USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtk-sharp
-VERSION=${VERSION:-2.12.43}
+VERSION=${VERSION:-2.12.45}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,11 +60,7 @@ rm -rf $PKG
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
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -63,7 +76,6 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -73,8 +85,15 @@ make install DESTDIR=$PKG
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
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
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 7f02165408573..19588e31e13fc 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.43"
-HOMEPAGE="http://www.mono-project.com/GtkSharp"
-DOWNLOAD="http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.43.tar.gz"
-MD5SUM="0f8a6681bd44af7eb3c53f4e793e1f6b"
+VERSION="2.12.45"
+HOMEPAGE="http://www.mono-project.com/docs/gui/gtksharp/"
+DOWNLOAD="https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.45.tar.gz"
+MD5SUM="48cdd0292229eba58b403930032fb766"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mono"
diff --git a/libraries/gtk-sharp/slack-desc b/libraries/gtk-sharp/slack-desc
index e813fbf87fa29..1cba1a3eea0d5 100644
--- a/libraries/gtk-sharp/slack-desc
+++ b/libraries/gtk-sharp/slack-desc
@@ -15,5 +15,5 @@ gtk-sharp: .Net development frameworks.
gtk-sharp:
gtk-sharp:
gtk-sharp:
-gtk-sharp: Website: http://www.mono-project.com/GtkSharp
+gtk-sharp: Website: http://www.mono-project.com/docs/gui/gtksharp/
gtk-sharp: