summaryrefslogtreecommitdiff
path: root/nonprism/gnome-online-accounts/PKGBUILD
blob: ab4c1c7c66768003fd38149e8ea82733aa8e0cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# $Id: PKGBUILD 273598 2016-08-11 12:05:27Z jgc $
# Maintainer (Arch): Ionut Biru <ibiru@archlinux.org>
# Maintainer: Márcio Silva <coadde@parabola.nu>

pkgname=gnome-online-accounts
pkgver=3.20.3
pkgrel=2.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)
conflicts=("${pkgname}-coherence" "${pkgname}-nonprism" )
replaces=("${pkgname}-coherence" "${pkgname}-nonprism")
optdepends=('gvfs-goa: Virtual file systems (e.g. OwnCloud)')
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
sha256sums=('094fc04cf3e0b4ace667fce3b5bdcca5093e0c93f9184439e663c69546c1e046')

build() {
  cd $pkgname-$pkgver

  ./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-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: