[arch-commits] Commit in libgweather/repos (6 files)
Jan de Groot
jgc at archlinux.org
Mon Mar 21 10:15:51 UTC 2016
Date: Monday, March 21, 2016 @ 11:15:51
Author: jgc
Revision: 262151
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
libgweather/repos/gnome-unstable-i686/
libgweather/repos/gnome-unstable-i686/PKGBUILD
(from rev 262150, libgweather/trunk/PKGBUILD)
libgweather/repos/gnome-unstable-i686/libgweather.install
(from rev 262150, libgweather/trunk/libgweather.install)
libgweather/repos/gnome-unstable-x86_64/
libgweather/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 262150, libgweather/trunk/PKGBUILD)
libgweather/repos/gnome-unstable-x86_64/libgweather.install
(from rev 262150, libgweather/trunk/libgweather.install)
-------------------------------------------+
gnome-unstable-i686/PKGBUILD | 29 ++++++++++++++++++++++++++++
gnome-unstable-i686/libgweather.install | 18 +++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 29 ++++++++++++++++++++++++++++
gnome-unstable-x86_64/libgweather.install | 18 +++++++++++++++++
4 files changed, 94 insertions(+)
Copied: libgweather/repos/gnome-unstable-i686/PKGBUILD (from rev 262150, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2016-03-21 10:15:51 UTC (rev 262151)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=3.19.92
+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
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('d503f959b9b2205eb5553c9ba77c0b86f9c8d5e637f48950280cd3e7b1505151')
+
+build() {
+ 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
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+}
Copied: libgweather/repos/gnome-unstable-i686/libgweather.install (from rev 262150, libgweather/trunk/libgweather.install)
===================================================================
--- gnome-unstable-i686/libgweather.install (rev 0)
+++ gnome-unstable-i686/libgweather.install 2016-03-21 10:15:51 UTC (rev 262151)
@@ -0,0 +1,18 @@
+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
+}
Copied: libgweather/repos/gnome-unstable-x86_64/PKGBUILD (from rev 262150, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2016-03-21 10:15:51 UTC (rev 262151)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=3.19.92
+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
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('d503f959b9b2205eb5553c9ba77c0b86f9c8d5e637f48950280cd3e7b1505151')
+
+build() {
+ 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
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+}
Copied: libgweather/repos/gnome-unstable-x86_64/libgweather.install (from rev 262150, libgweather/trunk/libgweather.install)
===================================================================
--- gnome-unstable-x86_64/libgweather.install (rev 0)
+++ gnome-unstable-x86_64/libgweather.install 2016-03-21 10:15:51 UTC (rev 262151)
@@ -0,0 +1,18 @@
+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