diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-15 03:26:32 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-15 03:26:32 +0000 |
commit | ad45d1982b97faa9372d99e51daa687c7c09de7d (patch) | |
tree | af490221f2b733b8f0cf68f3898566d5049c3ab4 /extra/gfbgraph | |
parent | 7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (diff) |
Tue Apr 15 03:22:01 UTC 2014
Diffstat (limited to 'extra/gfbgraph')
-rw-r--r-- | extra/gfbgraph/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/gfbgraph/PKGBUILD b/extra/gfbgraph/PKGBUILD new file mode 100644 index 000000000..7939947a1 --- /dev/null +++ b/extra/gfbgraph/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +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 +} |