updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / libmateweather / PKGBUILD
blobf521b99aa3c2e9d72adf494c870bc3efb428b639
1 pkgname=libmateweather
2 pkgver=2011.12.16
3 pkgrel=1
4 pkgdesc="Provides access to weather information from the net"
5 arch=('i686' 'x86_64')
6 license=('LGPL')
7 depends=('mate-conf') #  'libsoup-mate'  'mate-icon-theme'
8 makedepends=('pkgconfig' 'intltool' 'gtk-doc')
9 groups=('mate')
10 options=('!emptydirs' '!libtool')
11 url="http://matsusoft.com.ar/projects/mate/"
12 install=libmateweather.install
13 source=(http://matsusoft.com.ar/projects/mate/files/${pkgname}/${pkgname}-${pkgver}.tar.xz)
14 sha256sums=('cc144ffeff6e1ee23c04ce0e34c882ad6fb3a23542c7cf00c451f7c8831afd19')
17 build() {
18     cd "${srcdir}"
19     ./autogen.sh \
20         --prefix=/usr \
21         --sysconfdir=/etc \
22         --localstatedir=/var \
23         --disable-static \
24         --enable-locations-compression || return 1
25     make || return 1
28 package() {
29     cd "${srcdir}"
31     make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
33     install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
34     mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain libmateweather ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
35     rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas