diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libgit2/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libgit2/PKGBUILD')
-rw-r--r-- | community/libgit2/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/libgit2/PKGBUILD b/community/libgit2/PKGBUILD new file mode 100644 index 000000000..aedbb4fde --- /dev/null +++ b/community/libgit2/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 93245 2013-06-29 19:05:07Z thestinger $ +# Maintainer: Daniel Micay <danielmicay@gmail.com> +# Contributor: Hilton Medeiros <medeiros.hilton@gmail.com> +# Contributor: Dave Reisner <d@falconindy.com> + +pkgname=libgit2 +pkgver=0.19.0 +pkgrel=1 +pkgdesc="A linkable library for Git" +arch=('i686' 'x86_64') +url="http://libgit2.github.com/" +depends=(zlib openssl libssh2) +makedepends=(cmake python) +license=('GPL2') +source=("src-$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/tarball/v$pkgver") +md5sums=('df1c1e058b2d0f46b1b73dc78d551ea1') + +build() { + 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 $pkgname-* + make DESTDIR="$pkgdir" install +} |