summaryrefslogtreecommitdiffstats
path: root/extra/libgweather/Pkgfile
blob: 8623c4a5aad98a30dfcb26dcf5057b81ecd09bcb (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
# Description: Librairie pour gnome-panel
# URL: http://www.gnome.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gnome-vfs, libsoup, intltool, libgnome-keyring, gtk-doc

name=libgweather
version=2.30.0
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2 \
	http://nutyx.meticul.eu/files/patchs/$name/01_gettext_not_xml.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../01_gettext_not_xml.patch
	libtoolize --force
	gtkdocize
	aclocal
	autoconf
	automake
	./configure --prefix=$GNOME_PREFIX \
		--sysconfdir=/etc \
		--localstatedir=/var/lib \
		--disable-static
	make
	make DESTDIR=$PKG install
	rm -r $PKG/$GNOME_PREFIX/share/gtk-doc
}