summaryrefslogtreecommitdiff
path: root/community/libgit2-glib/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libgit2-glib/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libgit2-glib/PKGBUILD')
-rw-r--r--community/libgit2-glib/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libgit2-glib/PKGBUILD b/community/libgit2-glib/PKGBUILD
new file mode 100644
index 000000000..38f5b31d5
--- /dev/null
+++ b/community/libgit2-glib/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 93394 2013-07-02 20:55:40Z eric $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=libgit2-glib
+pkgver=0.0.6
+pkgrel=1
+pkgdesc="GLib wrapper for libgit2"
+url="http://live.gnome.org/Libgit2-glib"
+license=(LGPL2.1)
+arch=(i686 x86_64)
+depends=(glib2 libgit2 gobject-introspection)
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('bda84b5ab6fbe2922a4cf386b4e6d4401863dec7bea1879e86939d005cd521f6')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}