summaryrefslogtreecommitdiff
path: root/community/libgit2/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-19 12:40:04 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-19 12:40:04 +0200
commitd186e96728bff4cc4873c59d48d01fe6eefe6131 (patch)
tree1eefcef8058414b07b2750f52d9746f5323472ff /community/libgit2/PKGBUILD
parent84c217e2d9acc64713978324761816e2468b5292 (diff)
parent1fedf1f5d5351aefd88268cba7353c79adac9b8a (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/collectd/PKGBUILD community/drivel/PKGBUILD community/fcitx-mozc/PKGBUILD community/gnomesu/PKGBUILD community/gnuchess/PKGBUILD community/gphpedit/PKGBUILD community/gsql/PKGBUILD community/libmatchbox/PKGBUILD community/lockfile-progs/PKGBUILD community/opencc/PKGBUILD community/roxterm/PKGBUILD community/uriparser/PKGBUILD community/xcircuit/PKGBUILD core/bison/PKGBUILD core/curl/PKGBUILD core/expat/PKGBUILD core/gcc/PKGBUILD core/gpm/PKGBUILD core/m4/PKGBUILD core/systemd/PKGBUILD core/tar/PKGBUILD extra/alsa-lib/PKGBUILD extra/alsa-utils/PKGBUILD extra/bitlbee/PKGBUILD extra/chkrootkit/PKGBUILD extra/fakechroot/PKGBUILD extra/farstream/PKGBUILD extra/freeglut/PKGBUILD extra/gob2/PKGBUILD extra/libcdio-paranoia/PKGBUILD extra/liblqr/PKGBUILD extra/libnl1/PKGBUILD extra/libpst/PKGBUILD extra/libwpd/PKGBUILD extra/xorg-server/PKGBUILD
Diffstat (limited to 'community/libgit2/PKGBUILD')
-rw-r--r--community/libgit2/PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/community/libgit2/PKGBUILD b/community/libgit2/PKGBUILD
index af2115029..07d9ad5bb 100644
--- a/community/libgit2/PKGBUILD
+++ b/community/libgit2/PKGBUILD
@@ -1,27 +1,33 @@
-# $Id$
+# $Id: PKGBUILD 88415 2013-04-17 09:17:05Z thestinger $
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: Hilton Medeiros <medeiros.hilton@gmail.com>
# Contributor: Dave Reisner <d@falconindy.com>
pkgname=libgit2
-pkgver=0.17.0
-pkgrel=2
+pkgver=0.18.0
+pkgrel=1
pkgdesc="A linkable library for Git"
arch=('i686' 'x86_64' 'mips64el')
url="http://libgit2.github.com/"
-depends=('zlib')
+depends=(zlib openssl)
makedepends=(cmake python)
license=('GPL2')
source=("src-$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/tarball/v$pkgver")
-md5sums=('5a09dd1118d1354375407119d19e0f2c')
+md5sums=('50409ddb0c34713677b33ef617e92c94')
build() {
- cd "$srcdir"/$pkgname-*
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+ cd $pkgname-*
+ export LANG=en_US.UTF-8
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DTHREADSAFE=ON
make
}
+check() {
+ cd $pkgname-*
+ make test
+}
+
package() {
- cd "$srcdir"/$pkgname-*
+ cd $pkgname-*
make DESTDIR="$pkgdir" install
}