updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mate-window-manager / PKGBUILD
bloba9910ace968f02284e148a9eb9925b7b243ecc6b
1 pkgname=mate-window-manager
2 pkgver=2011.12.16
3 pkgrel=1
4 pkgdesc="A window manager for MATE"
5 arch=(i686 x86_64)
6 license=('GPL')
7 depends=('mate-conf' 'mate-dialogs' 'libgtop' 'libwnck') #  'libcanberra' 'startup-notification'
8 makedepends=('intltool' 'pkgconfig' 'mate-doc-utils')
9 options=('!emptydirs' '!libtool')
10 install=mate-window-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         metacity-restartstyle.patch)
15 sha256sums=('1739f4429fb2331d3945fb5c44e54b1b25e69c9b7cb652eb2705e6778d862eba'
16             'ea2450ca3e4fb59166ec18ff4844cc61cb16865880dc6b125078a3ab47bf2caf')
18 build() {
19     cd "${srcdir}"
20     patch -Np1 -i "${srcdir}/metacity-restartstyle.patch" || return 1
21     ./autogen.sh \
22         --prefix=/usr \
23         --sysconfdir=/etc \
24         --localstatedir=/var \
25         --libexecdir=/usr/lib/mate-window-manager \
26         --disable-static \
27         --disable-startup-notification \
28         --disable-scrollkeeper || return 1
29     make || return 1
32 package() {
33     cd "${srcdir}"
35     make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
37     install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
38     mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas
39     rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas