[arch-commits] Commit in libgweather/trunk (PKGBUILD libgweather.install)
Jan Steffens
heftig at archlinux.org
Mon May 9 19:40:59 UTC 2016
Date: Monday, May 9, 2016 @ 21:40:59
Author: heftig
Revision: 267260
3.20.1-1
Modified:
libgweather/trunk/PKGBUILD
Deleted:
libgweather/trunk/libgweather.install
---------------------+
PKGBUILD | 34 ++++++++++++++++++----------------
libgweather.install | 18 ------------------
2 files changed, 18 insertions(+), 34 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-09 18:07:07 UTC (rev 267259)
+++ PKGBUILD 2016-05-09 19:40:59 UTC (rev 267260)
@@ -2,28 +2,30 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=libgweather
-pkgver=3.20.0
+pkgver=3.20.1
pkgrel=1
-pkgdesc="Provides access to weather information from the net"
-arch=('i686' 'x86_64')
-license=('LGPL')
-depends=('libsoup' 'gtk3' 'geocode-glib')
-makedepends=('intltool' 'gobject-introspection' 'vala')
-options=('!emptydirs')
-url="http://www.gnome.org/"
-install=libgweather.install
+pkgdesc="Location and timezone database and weather-lookup library"
+url="https://wiki.gnome.org/Projects/LibGWeather"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(libsoup gtk3 geocode-glib)
+makedepends=(intltool gobject-introspection vala)
+options=(!emptydirs)
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('52629b8e9fcd979377f43a2223cf0e7096d3c3e940faa94021132ee0f879b8d6')
+sha256sums=('81eb829fab6375cc9a4d448ae0f790e48f9720e91eb74678b22264cfbc8938d0')
build() {
- cd "$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+
+ make
}
package() {
- cd "$pkgname-$pkgver"
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
Deleted: libgweather.install
===================================================================
--- libgweather.install 2016-05-09 18:07:07 UTC (rev 267259)
+++ libgweather.install 2016-05-09 19:40:59 UTC (rev 267260)
@@ -1,18 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f /usr/share/icons/gnome
- glib-compile-schemas /usr/share/glib-2.0/schemas
-}
-
-pre_upgrade() {
- if [ -f /usr/share/gconf/schemas/libgweather.schemas ]; then
- gconfpkg --uninstall libgweather
- fi
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
More information about the arch-commits
mailing list