updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mate-applets / PKGBUILD
blob882a9f58e096394adf87633e3a26afb99821872f
1 pkgname=mate-applets
2 pkgver=2011.12.20
3 pkgrel=1
4 pkgdesc="Applets for MATE panel"
5 arch=(i686 x86_64)
6 license=('GPL')
7 depends=('gstreamer0.10-base-plugins' 'mate-panel' 'libgtop' 'libmatenotify'
8          'cpufrequtils')
9 makedepends=('mate-doc-utils' 'pkgconfig' 'mate-settings-daemon' 'intltool'
10              'mate-icon-theme' 'networkmanager' 'mate-character-map') # 'mate-python-desktop'
11 groups=('mate-extras')
12 options=(!emptydirs)
13 replace=('gnome-applets')
14 conflicts=('gnome-applets')
15 url="http://matsusoft.com.ar/projects/mate/"
16 install=mate-applets.install
17 source=(http://matsusoft.com.ar/projects/mate/files/${pkgname}/${pkgname}-${pkgver}.tar.xz)
18 sha256sums=('d471b6a9808292bcd80dc52a5b5026b193e9480b23c31a3eeef0dec49b8ed078')
20 build() {
21     cd "${srcdir}"
22     PYTHON=/usr/bin/python2 ./autogen.sh \
23         --prefix=/usr \
24         --sysconfdir=/etc \
25         --localstatedir=/var \
26         --libexecdir=/usr/lib/mate-applets \
27         --disable-static \
28         --disable-scrollkeeper \
29         --enable-polkit \
30         --enable-networkmanager \
31         --enable-mixer-applet \
32         --enable-mini-commander \
33         --enable-frequency-selector \
34         --enable-ipv6 \
35         --disable-schemas-install || return 1
36     make || return 1
39 package() {
40     cd "${srcdir}"
42     make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
44     install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
45     mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
46     rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas