summaryrefslogtreecommitdiff
path: root/extra/accountsservice/PKGBUILD
blob: c09d7c2db98192833709b26a01a0ba24ecae91a1 (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
# $Id: PKGBUILD 172182 2012-12-01 09:02:32Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=accountsservice
pkgver=0.6.29
pkgrel=2
pkgdesc="D-Bus interface for user account query and manipulation"
arch=(i686 x86_64)
url="http://www.freedesktop.org/software/accountsservice/"
license=('GPL3')
depends=('glib2' 'polkit' 'systemd')
makedepends=('intltool' 'gobject-introspection' 'vala')
options=('!libtool')
source=($url/$pkgname-$pkgver.tar.xz more-exclusions.patch 32bit-crash.patch)
md5sums=('396c16f39711e24bb7cc685a170befa3'
         '1d5cf127e5aac407fe7c37b2f4fd503c'
         '2d364b82e7bb1df4aaae70e9ac5be0ba')

build() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../more-exclusions.patch
  patch -Np1 -i ../32bit-crash.patch
  ./configure --prefix=/usr --sysconfdir=/etc \
    --libexecdir=/usr/lib/accountsservice \
    --with-systemdsystemunitdir=/usr/lib/systemd/system \
    --localstatedir=/var --disable-static --enable-systemd
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

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