aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-28 21:53:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-10 07:01:50 +0700
commitba98475228c16697e96209af42df28902f8de09b (patch)
treef7d6cda8201ed4605e0da37110fde71e704b6448
parent91170bca9f85ce99e07af4ff3d5cdef23189331b (diff)
libraries/gnome-sharp: Updated for version 2.24.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/gnome-sharp/gnome-sharp.SlackBuild25
-rw-r--r--libraries/gnome-sharp/gnome-sharp.info8
-rw-r--r--libraries/gnome-sharp/slack-desc2
3 files changed, 16 insertions, 19 deletions
diff --git a/libraries/gnome-sharp/gnome-sharp.SlackBuild b/libraries/gnome-sharp/gnome-sharp.SlackBuild
index eda81cf67867..6f595fb23def 100644
--- a/libraries/gnome-sharp/gnome-sharp.SlackBuild
+++ b/libraries/gnome-sharp/gnome-sharp.SlackBuild
@@ -21,15 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=gnome-sharp
-VERSION=${VERSION:-2.24.2}
+VERSION=${VERSION:-2.24.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +39,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,14 +59,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \;
+ \( -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" \
@@ -83,13 +82,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 NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog 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/gnome-sharp/gnome-sharp.info b/libraries/gnome-sharp/gnome-sharp.info
index 766586916a57..31e4ac1c3585 100644
--- a/libraries/gnome-sharp/gnome-sharp.info
+++ b/libraries/gnome-sharp/gnome-sharp.info
@@ -1,8 +1,8 @@
PRGNAM="gnome-sharp"
-VERSION="2.24.2"
-HOMEPAGE="http://gtk-sharp.sourceforge.net/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gnome-sharp/2.24/gnome-sharp-2.24.2.tar.bz2"
-MD5SUM="3b38f53960c736d4afb8f04204efe98b"
+VERSION="2.24.5"
+HOMEPAGE="http://www.mono-project.com/"
+DOWNLOAD="https://download.mono-project.com/sources/gnome-sharp2/gnome-sharp-2.24.5.tar.gz"
+MD5SUM="26be828348b0c6ef020f313b6f92fbba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtk-sharp libgnomeui"
diff --git a/libraries/gnome-sharp/slack-desc b/libraries/gnome-sharp/slack-desc
index 6096cfbe35e8..477eba685d6e 100644
--- a/libraries/gnome-sharp/slack-desc
+++ b/libraries/gnome-sharp/slack-desc
@@ -11,7 +11,7 @@ gnome-sharp:
gnome-sharp: Gnome# is a .NET language binding for assorted GNOME libraries.
gnome-sharp: Gnome# is free software, licensed under the GNU LGPL.
gnome-sharp:
-gnome-sharp: Homepage: http://gtk-sharp.sourceforge.net/
+gnome-sharp: Homepage: http://www.mono-project.com/
gnome-sharp:
gnome-sharp:
gnome-sharp: