[arch-commits] Commit in gfbgraph/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:09:37 UTC 2018


    Date: Friday, November 9, 2018 @ 23:09:37
  Author: felixonmars
Revision: 338749

archrelease: copy trunk to staging-x86_64

Added:
  gfbgraph/repos/staging-x86_64/
  gfbgraph/repos/staging-x86_64/PKGBUILD
    (from rev 338748, gfbgraph/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: gfbgraph/repos/staging-x86_64/PKGBUILD (from rev 338748, gfbgraph/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 23:09:37 UTC (rev 338749)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gfbgraph
+pkgver=0.2.3+10+gbc03c1f
+pkgrel=2
+pkgdesc="GLib/GObject wrapper for the Facebook Graph API"
+url="https://wiki.gnome.org/Projects/GFBGraph"
+arch=(x86_64)
+license=(LGPL)
+depends=(gnome-online-accounts)
+makedepends=(rest json-glib gobject-introspection gtk-doc git)
+_commit=bc03c1f8fa59d80b9a12c0a57c26e7a2f852651e  # master
+source=("git+https://gitlab.gnome.org/GNOME/libgfbgraph.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libgfbgraph
+  git describe --tags | sed 's/^v_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd libgfbgraph
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd libgfbgraph
+  ./configure --prefix=/usr \
+    --disable-static \
+    --enable-gtk-doc \
+    --enable-introspection
+  sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
+  make
+}
+
+package() {
+  cd libgfbgraph
+  make DESTDIR="$pkgdir" install \
+    libgfbgraphdocdir=/usr/share/doc/$pkgname
+}



More information about the arch-commits mailing list