updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mate-settings-daemon / PKGBUILD
blobea8b00a45bbc264a280252c29398f0e581cf7664
1 pkgname=mate-settings-daemon
2 pkgver=2011.12.16
3 pkgrel=2
4 pkgdesc="The MATE Settings daemon"
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 depends=('libmatekbd' 'mate-desktop' 'libmatenotify' 'gstreamer0.10-base' 'hicolor-icon-theme')
8 makedepends=('intltool' 'pkgconfig')
9 options=('!libtool')
10 url="http://matsusoft.com.ar/projects/mate/"
11 install=mate-settings-daemon.install
12 groups=('mate')
13 source=(http://matsusoft.com.ar/projects/mate/files/${pkgname}/${pkgname}-${pkgver}.tar.xz)
14 sha256sums=('3011f710013bf7073f74ca8dd808b9a844587dc092d009f0da15b4b7262c2aed')
17 build() {
18     cd "$srcdir"
19     # Remove --disable-pulse if you want pulseaudio support
20     ./autogen.sh \
21         --prefix=/usr \
22         --sysconfdir=/etc \
23         --localstatedir=/var \
24         --libexecdir=/usr/lib/mate-settings-daemon \
25         --disable-static \
26         --disable-pulse \
27         --disable-schemas-install \
28         --enable-polkit || return 1
29     make || return 1
32 package() {
33     cd "${srcdir}"
35     make DESTDIR="${pkgdir}" MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1
37     install -d -m755 "${pkgdir}/usr/share/mateconf/schemas"
38     mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
39     rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas