vala: Upgraded to 0.36.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-04-27 20:32:20 +07:00
parent ac9f5a1e0d
commit 6d3f11f6fe
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 7 additions and 10 deletions

View file

@ -1,12 +1,12 @@
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
vala: Vala (Compiler for the GObject type system) vala: vala (Compiler for the GObject type system)
vala: vala:
vala: Vala is a new programming language that aims to bring modern vala: Vala is a new programming language that aims to bring modern
vala: programming language features to GNOME developers without imposing vala: programming language features to GNOME developers without imposing
vala: any additional runtime requirements and without using a different vala: any additional runtime requirements and without using a different
vala: ABI compared to applications and libraries written in C. vala: ABI compared to applications and libraries written in C.
vala: vala:
vala: vala: Project URL: https://github.com/GNOME/vala/
vala: vala:
vala: vala:
vala: vala:

View file

@ -25,7 +25,7 @@
# Modified by Willy Sudiarto Raharjo for MSB Project # Modified by Willy Sudiarto Raharjo for MSB Project
PRGNAM=vala PRGNAM=vala
VERSION=${VERSION:-0.34.4} VERSION=${VERSION:-0.36.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_msb} TAG=${TAG:-_msb}
@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then
esac esac
fi fi
wget -c http://ftp.gnome.org/pub/GNOME/sources/vala/0.34/$PRGNAM-$VERSION.tar.xz wget -c https://github.com/GNOME/vala/archive/$VERSION/$PRGNAM-$VERSION.tar.gz
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/msb} TMP=${TMP:-/tmp/msb}
@ -64,7 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -73,9 +73,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patch to support older GTK+3 ./autogen.sh
patch -p1 < $CWD/patch_support-gtk318.diff
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -92,8 +90,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README THANKS \ cp -a AUTHORS COPYING INSTALL NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION
$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