archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / gsignond / repos / community-x86_64 / PKGBUILD
blob4e51e4429e861678968efa021c7ff5c009e7e078
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Josip Ponjavic <josipponjavic@gmail.com>
4 pkgname=gsignond
5 pkgver=1.2.0
6 pkgrel=3
7 pkgdesc='gSSO glib daemon'
8 arch=(x86_64)
9 url=https://01.org/gsso
10 license=(LGPL2.1)
11 depends=(
12   glib2
13   glibc
14   libsecret
15   sqlite
17 makedepends=(
18   git
19   gobject-introspection
20   meson
21   vala
23 provides=(libgsignond-common.so)
24 backup=(etc/gsignond.conf)
25 source=(git+https://gitlab.com/accounts-sso/gsignond.git#tag=254b810114e70be4adff4aed30697c650641c2d9)
26 sha256sums=(SKIP)
28 pkgver() {
29   cd gsignond
31   git describe --tags
34 prepare() {
35   cd gsignond
37   git cherry-pick -n 39022c86ddb5062a10fb0503ad9d81a8e532d527
40 build() {
41   arch-meson gsignond build \
42     -D documentation=false \
43     -D extension=desktop
44   ninja -C build
47 package() {
48   DESTDIR="${pkgdir}" ninja -C build install
49   find "${pkgdir}" -type f -name com.google.code.AccountsSSO.SingleSignOn.* -delete
52 # vim: ts=2 sw=2 et: