[arch-commits] Commit in libmateweather/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Wed Feb 7 22:14:08 UTC 2018
Date: Wednesday, February 7, 2018 @ 22:14:07
Author: arojas
Revision: 290087
archrelease: copy trunk to community-staging-x86_64
Added:
libmateweather/repos/community-staging-x86_64/
libmateweather/repos/community-staging-x86_64/PKGBUILD
(from rev 290086, libmateweather/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: libmateweather/repos/community-staging-x86_64/PKGBUILD (from rev 290086, libmateweather/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-02-07 22:14:07 UTC (rev 290087)
@@ -0,0 +1,36 @@
+# Maintainer:
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=libmateweather
+pkgver=1.20.0
+pkgrel=1
+pkgdesc="Provides access to weather information from the Internet."
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('LGPL')
+depends=('gtk3' 'libsoup')
+makedepends=('intltool')
+conflicts=('libmateweather-gtk3')
+replaces=('libmateweather-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('076eddad046454d8e8f90413b1b33594975fc2a51c2a0cec1fff40b09adf15b1')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-python \
+ --enable-locations-compression
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list