Date: Thursday, March 16, 2023 @ 17:13:09
Author: alex19ep
Revision: 1421113
archrelease: copy trunk to community-testing-x86_64
Added:
libmateweather/repos/community-testing-x86_64/
libmateweather/repos/community-testing-x86_64/PKGBUILD
(from rev 1421112, libmateweather/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: libmateweather/repos/community-testing-x86_64/PKGBUILD (from rev
1421112, libmateweather/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2023-03-16 17:13:09 UTC (rev 1421113)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander Epaneshnikov <[email protected]>
+# Contributor: Brad Fanella <[email protected]
+# Contributor: Martin Wimpress <[email protected]>
+
+pkgname=libmateweather
+pkgver=1.27.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' 'gettext')
+conflicts=('libmateweather-gtk3')
+replaces=('libmateweather-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('c4d3b47e327e2d1196e933695e930167e15b4f7e2f271e98bc708bcf0a809926')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --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
+}