# $Id: PKGBUILD 280142 2016-11-07 20:57:04Z heftig $ # Maintainer (Arch): Ionut Biru # Maintainer: Márcio Silva pkgname=gnome-online-accounts pkgver=3.22.2 pkgrel=1.nonprism1 pkgdesc="Single sign-on framework for GNOME, without support for unsafe and dangerous for privacy protocols" url="https://wiki.gnome.org/Projects/GnomeOnlineAccounts" arch=(i686 x86_64) license=(LGPL) depends=(webkit2gtk json-glib libnotify rest libsecret telepathy-glib krb5 gcr) makedepends=(intltool gobject-introspection gtk-doc vala git gnome-common) conflicts=("${pkgname}-coherence" "${pkgname}-nonprism" ) replaces=("${pkgname}-coherence" "${pkgname}-nonprism") optdepends=('gvfs-goa: Virtual file systems (e.g. OwnCloud)') _commit=85169f9691eabb7b45f5d07c6a6c98e0830b3754 # tags/3.22.2^0 source=("git://git.gnome.org/gnome-online-accounts#commit=$_commit") sha256sums=('SKIP') prepare() { cd $pkgname NOCONFIGURE=1 ./autogen.sh } pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g' } build() { cd $pkgname ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --disable-static \ --enable-media-server \ --disable-kerberos \ --enable-lastfm \ --enable-gtk-doc \ --disable-exchange \ --disable-facebook \ --disable-flickr \ --disable-google \ --enable-imap-smtp \ --enable-owncloud \ --disable-pocket \ --enable-telepathy \ --disable-windows-live \ --disable-twitter \ --disable-yahoo \ --disable-foursquare 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: