diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2018-09-04 07:44:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-09-04 07:52:00 +0700 |
commit | 5da706865005224c42c49e53d6b1ea9a5612439c (patch) | |
tree | c4eb53081d86f8af8d6b5dff661acd741c8c687e /libraries/libgit2-glib/libgit2-glib.SlackBuild | |
parent | 8def30fe1b0d97f292a6866f988f27935fcc593f (diff) |
libraries/libgit2-glib: Updated for version 0.26.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgit2-glib/libgit2-glib.SlackBuild')
-rw-r--r-- | libraries/libgit2-glib/libgit2-glib.SlackBuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libraries/libgit2-glib/libgit2-glib.SlackBuild b/libraries/libgit2-glib/libgit2-glib.SlackBuild index ea0cda87f67ec..f58f20ea250fc 100644 --- a/libraries/libgit2-glib/libgit2-glib.SlackBuild +++ b/libraries/libgit2-glib/libgit2-glib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libgit2-glib -# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libgit2-glib -VERSION=${VERSION:-0.25.0} +VERSION=${VERSION:-0.26.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,25 +69,27 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/libgit2-0.27.0.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +meson build \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux + --buildtype=release \ + -Dgtk_doc=true -make -make install DESTDIR=$PKG +ninja -C build +DESTDIR=$PKG ninja -C build install 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 NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |