Date: Thursday, March 15, 2018 @ 16:22:38 Author: heftig Revision: 319322
archrelease: copy trunk to staging-x86_64 Added: folks/repos/staging-x86_64/ folks/repos/staging-x86_64/PKGBUILD (from rev 319321, folks/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: folks/repos/staging-x86_64/PKGBUILD (from rev 319321, folks/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-03-15 16:22:38 UTC (rev 319322) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> + +pkgname=folks +pkgver=0.11.4+26+g2c992227 +pkgrel=1 +pkgdesc="Library to aggregates people into metacontacts" +arch=(x86_64) +url="https://wiki.gnome.org/Projects/Folks" +license=(LGPL2.1) +depends=(telepathy-glib libgee libxml2 evolution-data-server) +makedepends=(gobject-introspection gtk-doc vala git) +_commit=2c992227b0e691b6d9cdbf3c997b681ba6b4d39d # master +source=("git+https://git.gnome.org/browse/folks#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + + ./configure --prefix=/usr --disable-schemas-compile \ + --disable-libsocialweb-backend --disable-fatal-warnings + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: