blob: 0ddf4e0c749ba1727225e8b07e459f086b147425 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $Id: PKGBUILD 183432 2013-04-21 22:11:21Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libgweather
pkgver=3.8.1
pkgrel=1
pkgdesc="Provides access to weather information from the net"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libsoup' '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=('4649f51a881ec375853a782ec1cd279f242baa4b6c1b9ebe09614ac65dd6081a'
'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
}
|