updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / mate-session-manager / PKGBUILD
blobce3876f398918e979c1234b559c9c987e9989a20
1 pkgname=mate-session-manager
2 pkgver=2011.12.16
3 pkgrel=1
4 pkgdesc="The MATE Session Handler"
5 arch=(i686 x86_64)
6 license=('GPL' 'LGPL')
7 depends=('upower' 'gtk2' 'mate-conf' 'hicolor-icon-theme' 'libxtst' 'mate-polkit') #  'startup-notification'
8 makedepends=('pkgconfig' 'intltool' 'xtrans')
9 options=('!emptydirs' '!libtool')
10 install=mate-session-manager.install
11 url="http://matsusoft.com.ar/projects/mate/"
12 groups=('mate')
13 source=(http://matsusoft.com.ar/projects/mate/files/${pkgname}/${pkgname}-${pkgver}.tar.xz)
14 sha256sums=('c1b76a857397334834f29a3ddf66051b84b12bf2097d01678a8e8cb2a4ecfc9e')
17 build() {
18     cd "${srcdir}"
20     ./autogen.sh \
21         --prefix=/usr \
22         --sysconfdir=/etc \
23         --localstatedir=/var \
24             --libexecdir=/usr/lib || return 1
26     make || return 1
29 package() {
30     cd "${srcdir}"
32     make DESTDIR="${pkgdir}" MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1
34     install -d -m755 "${pkgdir}/usr/share/mateconf/schemas"
35     mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
37     # --disable-schemas-compile <- check if work <- nop
38     rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas