archrelease: copy trunk to community-any
[ArchLinux/community.git] / libgsignon-glib / trunk / PKGBUILD
blob2e450c639e086e7a24c5aa49bf3dd7fe04ad8311
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=libgsignon-glib
4 pkgver=2.4.1
5 pkgrel=2
6 pkgdesc='gSSO client library'
7 arch=('x86_64')
8 url='https://01.org/gsso'
9 license=('LGPL2.1')
10 depends=('glib2')
11 makedepends=('git' 'gobject-introspection' 'gtk-doc' 'vala')
12 optdepends=('python: Python bindings'
13             'vala: Vala bindings')
14 _commit='a10da2694106fe6de4587278e09dc85e72b33ae2'
15 source=("git+https://gitlab.com/accounts-sso/libgsignon-glib.git#commit=${_commit}")
16 sha256sums=('SKIP')
18 build() {
19   cd libgsignon-glib
21   export CFLAGS="$CFLAGS -Wno-unused-const-variable -Wno-deprecated-declarations"
23   ./autogen.sh \
24     --prefix='/usr' \
25     --enable-dbus-type='session' \
26     --enable-introspection='yes'
27   make
30 package() {
31   cd libgsignon-glib
33   make DESTDIR="${pkgdir}" install
36 # vim: ts=2 sw=2 et: