diff options
author | root <root@rshg054.dnsready.net> | 2012-10-19 08:15:39 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-19 08:15:39 -0700 |
commit | dcc55a1cfa32068d0759c1c8307f6c07c11aec99 (patch) | |
tree | 2f6cd8ae52f7f49ed4ac2db1b0f4bf88a8ba5d96 /testing/libgweather/PKGBUILD | |
parent | 9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff) |
Fri Oct 19 08:15:38 PDT 2012
Diffstat (limited to 'testing/libgweather/PKGBUILD')
-rw-r--r-- | testing/libgweather/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/libgweather/PKGBUILD b/testing/libgweather/PKGBUILD new file mode 100644 index 000000000..420e2b212 --- /dev/null +++ b/testing/libgweather/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 169180 2012-10-18 19:23:54Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libgweather +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Provides access to weather information from the net" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('libsoup-gnome' 'gnome-icon-theme' 'gtk3') +makedepends=('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 + no_external_gettext.patch) +sha256sums=('93c9ef9bba3feb559c02b860909915fa9ffc7c08b4789a825939236e3e84b676' + '40325e0b5464ebb75eaad3c9292c0bab7b15cfefb93011d9ccc0ab82635a9533' + 'f07ac07a70ad4999c3acd5d5b82aabd8831e6a45beb9aaed239f212057ded672') + +build() { + cd "$pkgname-$pkgver" + + patch -Np1 -i "$srcdir/gettext-not-xml.patch" + patch -Np1 -i "$srcdir/no_external_gettext.patch" + gtkdocize + autoreconf -fi + + cd po + intltool-update --pot + cd ../po-locations + intltool-update --gettext-package libgweather-locations --pot + cd .. + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --enable-locations-compression + make +} + +package() { + cd "$pkgname-$pkgver" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install +} |