summaryrefslogtreecommitdiff
path: root/community/libgit2
diff options
context:
space:
mode:
Diffstat (limited to 'community/libgit2')
-rw-r--r--community/libgit2/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/libgit2/PKGBUILD b/community/libgit2/PKGBUILD
new file mode 100644
index 000000000..3a093b9af
--- /dev/null
+++ b/community/libgit2/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id$
+# 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
+pkgdesc="A linkable library for Git"
+arch=('i686' 'x86_64')
+url="http://libgit2.github.com/"
+depends=('zlib')
+makedepends=(cmake python)
+license=('GPL2')
+source=("src-$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/tarball/v$pkgver")
+md5sums=('5a09dd1118d1354375407119d19e0f2c')
+
+build() {
+ cd "$srcdir"/$pkgname-*
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-*
+ make DESTDIR="$pkgdir" install
+}