diff options
Diffstat (limited to 'libraries/libgit2/libgit2.SlackBuild')
-rw-r--r-- | libraries/libgit2/libgit2.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libgit2/libgit2.SlackBuild b/libraries/libgit2/libgit2.SlackBuild index b5082b3986f93..c6144f4b46938 100644 --- a/libraries/libgit2/libgit2.SlackBuild +++ b/libraries/libgit2/libgit2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libgit2 -# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2014-2015 Larry Hajali <larryhaja[at]gmail[dot]com> # 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 -VERSION=${VERSION:-0.21.3} +VERSION=${VERSION:-0.21.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,9 @@ 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 {} \; +# Fix libgit2 version string. +sed -i "/LIBGIT2_VERSION/s|\".*\"|\"${VERSION}\"|" include/git2/version.h + mkdir build cd build cmake -G "Unix Makefiles" \ |