[arch-commits] Commit in plasma5-applets-weather-widget/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 15:14:01 UTC 2020
Date: Tuesday, July 7, 2020 @ 15:14:00
Author: felixonmars
Revision: 658869
archrelease: copy trunk to community-staging-x86_64
Added:
plasma5-applets-weather-widget/repos/community-staging-x86_64/
plasma5-applets-weather-widget/repos/community-staging-x86_64/PKGBUILD
(from rev 658868, plasma5-applets-weather-widget/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: plasma5-applets-weather-widget/repos/community-staging-x86_64/PKGBUILD (from rev 658868, plasma5-applets-weather-widget/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 15:14:00 UTC (rev 658869)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Martin Kostolný <clearmartin at zoho dot com>
+
+pkgname=plasma5-applets-weather-widget
+pkgver=1.6.10
+pkgrel=3
+pkgdesc="Plasma applet for displaying weather information from yr.no server"
+arch=(x86_64)
+url="https://kde-apps.org/content/show.php/Weather+Widget?content=169572"
+license=(GPL)
+depends=(plasma-workspace qt5-graphicaleffects qt5-xmlpatterns)
+makedepends=(extra-cmake-modules)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/kotelnik/plasma-applet-weather-widget/archive/v$pkgver.tar.gz")
+sha256sums=('9557441285121be52bfe27fa2bb214e865132b8581953faf88f1fae4ae1e87f2')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../plasma-applet-weather-widget-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list