diff options
Diffstat (limited to 'xfce4-sensors-plugin/Pkgfile')
| -rw-r--r-- | xfce4-sensors-plugin/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/xfce4-sensors-plugin/Pkgfile b/xfce4-sensors-plugin/Pkgfile new file mode 100644 index 0000000..c2cf556 --- /dev/null +++ b/xfce4-sensors-plugin/Pkgfile @@ -0,0 +1,26 @@ +# Description: Displays the current CPU load, memory in use, swap space and the uptime +# URL: https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start +# Maintainer: Jay Lanagan, j at lngn dot net +# Depends on: libnotify lm_sensors xfce4-panel + +name=xfce4-sensors-plugin +version=1.5.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 \ + --localstatedir=/var \ + --buildtype=plain \ + -Db_lto=true \ + -Db_pie=true + + meson compile -C build + DESTDIR=$PKG meson install -C build + + rm -rf $PKG/usr/share/locale + +} |
