updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libmate / PKGBUILD
blobdf986c104912ac7ae563d1c0ffdfbdf83b10d0b2
1 pkgname=libmate
2 pkgver=2011.12.16
3 pkgrel=1
4 pkgdesc="Common libraries for MATE"
5 arch=('i686' 'x86_64')
6 license=('LGPL')
7 depends=('ttf-freefont' 'mate-conf')
8 makedepends=('mate-doc-utils' 'mate-common' 'mate-corba' 'mate-conf'
9              'libmatecomponent' 'mate-mime-data' 'gvfs' 'mate-vfs') #  'libcanberra'
10 options=('!emptydirs' '!libtool')
11 url="http://matsusoft.com.ar/projects/mate/"
12 groups=('mate')
13 install=libmate.install
15 # mirrors
16 # http://cptl.org/mate/${pkgname}.tar.gz
17 # http://hax0r.se/mate/${pkgname}.tar.gz
18 # http://matsusoft.com.ar/uploads/gnu-linux/mate/${pkgname}.tar.gz
19 # http://matsusoft.com.ar/projects/mate/source/${pkgname}.tar.gz
21 source=(http://matsusoft.com.ar/projects/mate/files/${pkgname}/${pkgname}-${pkgver}.tar.xz)
22 sha256sums=('41e7bcfdc0af4bcb30d8d1508211a0f8f7c0c763a95a57d622047adf3ee618e4')
24 build() {
25     cd "${srcdir}"
27     # Optional Features:
28     #    --enable-esd            Enable ESounD (default=no)
29     #    --enable-canberra       Enable canberra (default=yes)
30     ./autogen.sh \
31         --prefix=/usr \
32         --sysconfdir=/etc \
33         --localstatedir=/var \
34         --disable-static \
35         --libexecdir=/usr/lib/libmate \
36         --disable-canberra \
37         --disable-schemas-install || return 1
39     make || return 1
42 package() {
43     cd "${srcdir}"
45     make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1  DESTDIR="${pkgdir}" install || return 1
47     install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
48     mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
49     rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas