[arch-commits] Commit in libgweather/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Apr 4 21:33:29 UTC 2011


    Date: Monday, April 4, 2011 @ 17:33:29
  Author: heftig
Revision: 117926

Update to 3.0.0

Modified:
  libgweather/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-04-04 21:32:10 UTC (rev 117925)
+++ PKGBUILD	2011-04-04 21:33:29 UTC (rev 117926)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot  <jgc at archlinux.org>
 
 pkgname=libgweather
-pkgver=2.91.6
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="Provides access to weather information from the net"
 arch=('i686' 'x86_64')
@@ -12,16 +12,18 @@
 options=('!libtool' '!emptydirs')
 url="http://www.gnome.org/"
 install=libgweather.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.91/${pkgname}-${pkgver}.tar.bz2
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
         gettext-not-xml.patch)
-sha256sums=('186b7ed8f8fbeb50ddd39e9f4518163a0dcfde17be72a5e85af2d271b3a337bf'
+sha256sums=('f13eb69c6ec8c4db08a78ffe980a5dd0e194894d411691a6821a068c650d1545'
             'f21d55ab7916a50cad10d1c0bb3785a262e8ad8f35b9fb4c02ae23f1b0783727')
 
 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
@@ -31,6 +33,7 @@
 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




More information about the arch-commits mailing list