Date: Wednesday, March 26, 2014 @ 23:22:54 Author: jgc Revision: 208784
Add new package, dependency for gnome-online-miners Added: gfbgraph/ gfbgraph/repos/ gfbgraph/trunk/ gfbgraph/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: gfbgraph/trunk/PKGBUILD =================================================================== --- gfbgraph/trunk/PKGBUILD (rev 0) +++ gfbgraph/trunk/PKGBUILD 2014-03-26 22:22:54 UTC (rev 208784) @@ -0,0 +1,33 @@ +# $Id: $ +# Maintainer: Jan de Groot <[email protected]> + +pkgname=gfbgraph +pkgver=0.2.2 +pkgrel=1 +pkgdesc="GLib/GObject wrapper for the Facebook Graph API" +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('rest' 'json-glib' 'gobject-introspection' 'gtk-doc') +depends=('gnome-online-accounts') +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('66c7b1c951863565c179d0b4b5207f27b3b36f80afed9f6a9acfc5fc3ae775d4') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --disable-silent-rules \ + --disable-static \ + --enable-gtk-doc \ + --enable-introspection + + # Omit unused direct shared library dependencies. + sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -m755 -d "$pkgdir"/usr/share + mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc +}
