aboutsummaryrefslogtreecommitdiffstats
path: root/testing/plasma-applet-weather-widget
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-27 02:53:49 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-26 22:37:08 -0300
commitd2b59deb1921ba8a9e36a19edc661204ded95245 (patch)
treec1310179da195fa0c96c0f1b54ec11f6d52556ae /testing/plasma-applet-weather-widget
parent94541845ac60cdf7efc53c8d4a8092ebcb4eb1bc (diff)
downloadaports-d2b59deb1921ba8a9e36a19edc661204ded95245.tar.bz2
aports-d2b59deb1921ba8a9e36a19edc661204ded95245.tar.xz
testing/plasma-applet-weather-widget: new aport
Diffstat (limited to 'testing/plasma-applet-weather-widget')
-rw-r--r--testing/plasma-applet-weather-widget/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/plasma-applet-weather-widget/APKBUILD b/testing/plasma-applet-weather-widget/APKBUILD
new file mode 100644
index 0000000000..c190a70812
--- /dev/null
+++ b/testing/plasma-applet-weather-widget/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=plasma-applet-weather-widget
+pkgver=1.6.10
+pkgrel=0
+arch="all"
+url="https://www.linux-apps.com/content/show.php/Weather+Widget?content=169572"
+pkgdesc="Plasmoid for showing weather information from yr.no and Open Weather Map servers"
+license="GPL-2.0-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev plasma-framework-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kotelnik/$pkgname/archive/v$pkgver.tar.gz"
+subpackages="$pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="5db4c2e426b9b8296b70ec4edf5fc2dbc5e8056f66327569008a77b05201896ed23039aae063807726376e203d637053884bfeeac78c59c519b7fc5685797331 plasma-applet-weather-widget-1.6.10.tar.gz"