From 0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Sep 2011 23:14:32 +0000 Subject: Thu Sep 29 23:14:32 UTC 2011 --- testing/libgweather/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/libgweather/PKGBUILD (limited to 'testing/libgweather/PKGBUILD') diff --git a/testing/libgweather/PKGBUILD b/testing/libgweather/PKGBUILD new file mode 100644 index 000000000..1f95013c5 --- /dev/null +++ b/testing/libgweather/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 139000 2011-09-28 19:32:20Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=libgweather +pkgver=3.2.0 +pkgrel=1 +pkgdesc="Provides access to weather information from the net" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('gconf' 'libsoup-gnome' 'gnome-icon-theme') +makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection' 'gnome-common') +options=('!libtool' '!emptydirs') +url="http://www.gnome.org/" +install=libgweather.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz + gettext-not-xml.patch) +sha256sums=('7fdae4aad787759ed0d0124d66991311a24c8c9a3c9a46c56f62e4cc4575aea9' + '5b6bf182294b8974a89492237d98b60678b83efcf31de8a0ca1bebd90f3356a3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i "${srcdir}/gettext-not-xml.patch" + gtkdocize + autoreconf -fi + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --enable-locations-compression + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + 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 +} -- cgit v1.2.3-54-g00ecf