[arch-commits] CVS update of extra/gnome/libgweather (PKGBUILD libgweather.install)
Jan de Groot
jgc at archlinux.org
Wed Mar 12 23:23:04 UTC 2008
Date: Wednesday, March 12, 2008 @ 19:23:04
Author: jgc
Path: /home/cvs-extra/extra/gnome/libgweather
Added: PKGBUILD (1.1) libgweather.install (1.1)
upgpkg: libgweather 2.22.0-1
GNOME 2.22
---------------------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
libgweather.install | 17 +++++++++++++++++
2 files changed, 45 insertions(+)
Index: extra/gnome/libgweather/PKGBUILD
diff -u /dev/null extra/gnome/libgweather/PKGBUILD:1.1
--- /dev/null Wed Mar 12 19:23:04 2008
+++ extra/gnome/libgweather/PKGBUILD Wed Mar 12 19:23:04 2008
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD,v 1.1 2008/03/12 23:23:04 jgc Exp $
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+pkgname=libgweather
+pkgver=2.22.0
+pkgrel=1
+pkgdesc="Provides access to weather information from the net"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gnome-vfs>=2.22.0')
+makedepends=('pkgconfig' 'perlxml')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org/"
+install=libgweather.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.22/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('f25d3dada7416bf2d5edb5c7fd7ffce0')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static || return 1
+ make || return 1
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install || return 1
+
+ install -m755 -d ${startdir}/pkg/usr/share/gconf/schemas
+ gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas || return 1
+ rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
+
+}
Index: extra/gnome/libgweather/libgweather.install
diff -u /dev/null extra/gnome/libgweather/libgweather.install:1.1
--- /dev/null Wed Mar 12 19:23:04 2008
+++ extra/gnome/libgweather/libgweather.install Wed Mar 12 19:23:04 2008
@@ -0,0 +1,17 @@
+pkgname=libgweather
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
More information about the arch-commits
mailing list