[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Thu Nov 5 16:57:44 UTC 2015


    Date: Thursday, November 5, 2015 @ 17:57:44
  Author: arojas
Revision: 146042

Add Plasma 5 weather widget (11 votes)

Added:
  plasma5-applets-weather-widget/
  plasma5-applets-weather-widget/trunk/
  plasma5-applets-weather-widget/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: plasma5-applets-weather-widget/trunk/PKGBUILD
===================================================================
--- plasma5-applets-weather-widget/trunk/PKGBUILD	                        (rev 0)
+++ plasma5-applets-weather-widget/trunk/PKGBUILD	2015-11-05 16:57:44 UTC (rev 146042)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Martin Kostolný <clearmartin at zoho dot com>
+
+pkgname=plasma5-applets-weather-widget
+pkgver=1.5.1
+pkgrel=2
+pkgdesc="Plasma 5 applet for displaying weather information from yr.no server"
+arch=(any)
+url="http://kde-apps.org/content/show.php/Weather+Widget?content=169572"
+license=(GPL)
+depends=(plasma-workspace qt5-graphicaleffects)
+makedepends=(extra-cmake-modules)
+source=("https://github.com/kotelnik/plasma-applet-weather-widget/archive/v$pkgver.tar.gz")
+md5sums=('4f13a6c37297b58c42e23117eec49c84')
+
+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 \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list