Date: Tuesday, June 18, 2013 @ 15:46:11 Author: heftig Revision: 92908
archrelease: copy trunk to community-i686, community-x86_64 Added: libgit2-glib/repos/community-i686/ libgit2-glib/repos/community-i686/PKGBUILD (from rev 92907, libgit2-glib/trunk/PKGBUILD) libgit2-glib/repos/community-x86_64/ libgit2-glib/repos/community-x86_64/PKGBUILD (from rev 92907, libgit2-glib/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) Copied: libgit2-glib/repos/community-i686/PKGBUILD (from rev 92907, libgit2-glib/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-06-18 13:46:11 UTC (rev 92908) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=libgit2-glib +pkgver=0.0.2 +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=('e1e0c6e0cb6897c09e06edc06ee70befca2a3e1b3eb629c449b8ca0f49db75e5') + +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 +} Copied: libgit2-glib/repos/community-x86_64/PKGBUILD (from rev 92907, libgit2-glib/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-06-18 13:46:11 UTC (rev 92908) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=libgit2-glib +pkgver=0.0.2 +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=('e1e0c6e0cb6897c09e06edc06ee70befca2a3e1b3eb629c449b8ca0f49db75e5') + +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 +}