updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mate-panel / PKGBUILD
blobaecda91db949b721e39566388e74425f4f45ba62
1 pkgname=mate-panel
2 pkgver=2011.12.16
3 pkgrel=1
4 pkgdesc="The MATE Panel"
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 depends=('libwnck' 'mate-conf' 'mate-menus' 'mate-desktop' 'librsvg' 'hicolor-icon-theme' 'libcanberra' 'libmatecomponentui' 'libmateweather') # 'evolution-data-server'
8 makedepends=('mate-doc-utils' 'pkgconfig' 'intltool' 'networkmanager')
9 options=('!emptydirs' '!libtool')
10 install=mate-panel.install
11 source=(http://matsusoft.com.ar/projects/mate/files/${pkgname}/${pkgname}-${pkgver}.tar.xz)
12 sha256sums=('59fbe9e7dac92a121e5d0e5f867d80b0a86605708d036a81dc819f021dcff3cc')
14 url="http://matsusoft.com.ar/projects/mate/"
15 groups=('mate')
17 build() {
18     cd "${srcdir}"
20     PYTHON=/usr/bin/python2 ./autogen.sh \
21         --prefix=/usr \
22         --sysconfdir=/etc \
23         --localstatedir=/var \
24         --disable-static \
25         --libexecdir=/usr/lib/mate-panel \
26         --disable-scrollkeeper \
27         --enable-introspection \
28         --enable-matecomponent || 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 || return 1
39     rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas