diff options
Diffstat (limited to 'extra/libgweather/PKGBUILD')
-rw-r--r-- | extra/libgweather/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/libgweather/PKGBUILD b/extra/libgweather/PKGBUILD new file mode 100644 index 000000000..4dbe77413 --- /dev/null +++ b/extra/libgweather/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 91597 2010-09-27 13:41:59Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libgweather +pkgver=2.30.3 +pkgrel=1 +pkgdesc="Provides access to weather information from the net" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('gconf>=2.31.91' 'libsoup-gnome>=2.31.92' 'gnome-icon-theme') +makedepends=('pkgconfig' 'intltool' 'gtk-doc') +options=('!libtool' '!emptydirs') +url="http://www.gnome.org/" +install=libgweather.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2 + 01_gettext_not_xml.patch) +sha256sums=('b835374661423f37c46aa8e37368ae24a68856f117b7c21e475a21efdba5264c' + '64c181675714a411c2bc31d254cf5ad4a128fba539839b41783540e978a1de20') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/01_gettext_not_xml.patch" + libtoolize --force + gtkdocize + aclocal + autoconf + automake + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --enable-locations-compression + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgweather ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} |