[arch-commits] Commit in libgweather/repos (4 files)

Jan Steffens heftig at archlinux.org
Thu Mar 30 20:17:34 UTC 2017


    Date: Thursday, March 30, 2017 @ 20:17:33
  Author: heftig
Revision: 291888

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 291887, libgweather/trunk/PKGBUILD)
  libgweather/repos/gnome-unstable-x86_64/
  libgweather/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 291887, libgweather/trunk/PKGBUILD)

--------------------------------+
 gnome-unstable-i686/PKGBUILD   |   42 +++++++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD |   42 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: libgweather/repos/gnome-unstable-i686/PKGBUILD (from rev 291887, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2017-03-30 20:17:33 UTC (rev 291888)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan de Groot  <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=3.24.0
+pkgrel=1
+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 dconf)
+makedepends=(intltool gobject-introspection vala git gtk-doc autoconf-archive glade)
+options=(!emptydirs)
+_commit=e8c6435c7c36bea38acd79398a49a7e5ce03376a  # tags/3.24.0^0
+source=("git+https://git.gnome.org/browse/libgweather#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd "$pkgname"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --enable-gtk-doc
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+}

Copied: libgweather/repos/gnome-unstable-x86_64/PKGBUILD (from rev 291887, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2017-03-30 20:17:33 UTC (rev 291888)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan de Groot  <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=3.24.0
+pkgrel=1
+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 dconf)
+makedepends=(intltool gobject-introspection vala git gtk-doc autoconf-archive glade)
+options=(!emptydirs)
+_commit=e8c6435c7c36bea38acd79398a49a7e5ce03376a  # tags/3.24.0^0
+source=("git+https://git.gnome.org/browse/libgweather#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd "$pkgname"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --enable-gtk-doc
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list