[arch-commits] Commit in libgweather/repos (4 files)
Jan de Groot
jgc at archlinux.org
Fri Sep 15 14:17:10 UTC 2017
Date: Friday, September 15, 2017 @ 14:17:09
Author: jgc
Revision: 305606
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 305605, libgweather/trunk/PKGBUILD)
libgweather/repos/gnome-unstable-x86_64/
libgweather/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 305605, 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 305605, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2017-09-15 14:17:09 UTC (rev 305606)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=3.26.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=7fc5c6e84eeac34e5a64dcef1ea44930b10f0d96 # tags/3.26.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 305605, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2017-09-15 14:17:09 UTC (rev 305606)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=3.26.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=7fc5c6e84eeac34e5a64dcef1ea44930b10f0d96 # tags/3.26.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