aboutsummaryrefslogtreecommitdiff
path: root/xfce4-weather-plugin/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xfce4-weather-plugin/Pkgfile')
-rw-r--r--xfce4-weather-plugin/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/xfce4-weather-plugin/Pkgfile b/xfce4-weather-plugin/Pkgfile
new file mode 100644
index 0000000..5b8b117
--- /dev/null
+++ b/xfce4-weather-plugin/Pkgfile
@@ -0,0 +1,27 @@
+# Description: A weather plugin for the xfce-panel
+# URL: https://xfce.org
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: json-c libsoup xfce4-panel
+
+name=xfce4-weather-plugin
+version=0.12.0
+release=1
+source=(https://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.xz)
+
+build() {
+
+ meson setup $name-$version build \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib \
+ --buildtype=plain \
+ -Db_lto=true \
+ -Db_pie=true
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+
+ rm -rf $PKG/usr/share/locale
+
+}