From 9a6af577ce42cb73efc98c09ab1ef6f9e0083153 Mon Sep 17 00:00:00 2001 From: Jay Lanagan Date: Mon, 29 Sep 2025 09:51:28 -0400 Subject: xfce4: initial migration --- xfce4-battery-plugin/Pkgfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 xfce4-battery-plugin/Pkgfile (limited to 'xfce4-battery-plugin/Pkgfile') diff --git a/xfce4-battery-plugin/Pkgfile b/xfce4-battery-plugin/Pkgfile new file mode 100644 index 0000000..b84ec21 --- /dev/null +++ b/xfce4-battery-plugin/Pkgfile @@ -0,0 +1,25 @@ +# Description: A battery monitor plugin for the xfce-panel +# URL: https://xfce.org +# Maintainer: Jay Lanagan, j at lngn dot net +# Depends on: xfce4-panel + +name=xfce4-battery-plugin +version=1.2.0 +release=1 +source=(https://archive.xfce.org/src/panel-plugins/$name/${version:0:3}/$name-$version.tar.xz) + +build() { + meson setup $name-$version build \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --buildtype=plain \ + -Db_lto=true \ + -Db_pie=true + + meson compile -C build + DESTDIR=$PKG meson install -C build + + rm -rf $PKG/usr/share/locale + +} -- cgit v1.3-3-ga95d