aboutsummaryrefslogtreecommitdiff
path: root/xfce4-battery-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'xfce4-battery-plugin')
-rw-r--r--xfce4-battery-plugin/.footprint64
-rw-r--r--xfce4-battery-plugin/.signature5
-rw-r--r--xfce4-battery-plugin/Pkgfile25
-rw-r--r--xfce4-battery-plugin/post-install7
4 files changed, 101 insertions, 0 deletions
diff --git a/xfce4-battery-plugin/.footprint b/xfce4-battery-plugin/.footprint
new file mode 100644
index 0000000..ee0b3b6
--- /dev/null
+++ b/xfce4-battery-plugin/.footprint
@@ -0,0 +1,64 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/xfce4/
+drwxr-xr-x root/root usr/lib/xfce4/panel/
+drwxr-xr-x root/root usr/lib/xfce4/panel/plugins/
+-rwxr-xr-x root/root usr/lib/xfce4/panel/plugins/libbattery.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/icons/
+drwxr-xr-x root/root usr/share/icons/hicolor/
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-critical-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-critical.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-full-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-full.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-low-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-low.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-missing.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-ok-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-ok.png
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-battery-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/22x22/
+drwxr-xr-x root/root usr/share/icons/hicolor/22x22/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-critical-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-critical.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-full-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-full.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-low-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-low.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-missing.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-ok-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-ok.png
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-battery-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/24x24/
+drwxr-xr-x root/root usr/share/icons/hicolor/24x24/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-critical-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-critical.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-full-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-full.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-low-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-low.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-missing.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-ok-charging.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-ok.png
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/xfce4-battery-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/xfce4-battery-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/scalable/
+drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-critical-charging.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-critical.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-ok-charging.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-ok.svg
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/xfce4-battery-plugin.svg
+drwxr-xr-x root/root usr/share/xfce4/
+drwxr-xr-x root/root usr/share/xfce4/panel/
+drwxr-xr-x root/root usr/share/xfce4/panel/plugins/
+-rw-r--r-- root/root usr/share/xfce4/panel/plugins/battery.desktop
diff --git a/xfce4-battery-plugin/.signature b/xfce4-battery-plugin/.signature
new file mode 100644
index 0000000..dfb8cad
--- /dev/null
+++ b/xfce4-battery-plugin/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/xfce4.pub
+RWRSAbUnL7azFEdqrJs43z6ENzSUrtb2NnjyhgHgvPjlWNzqGJ6WVy5IT4DgrLiUvt2S9PNB1YKxEaZFxWE0cURjn48IIBGLaQY=
+SHA256 (Pkgfile) = fc2fc935ea8d70fa477ba266956919d27724793188ed5e7878a7c1e1aa8866aa
+SHA256 (.footprint) = d20cfec7b6ed76ef335fed429135c3c9d79eff65ef2adeb9753bec93ae38b8cb
+SHA256 (xfce4-battery-plugin-1.2.0.tar.xz) = 1dba8f470d2b12517e7b86d83cd2ebf13eb57ff1a01a4f2d2d156cf5194d97b6
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
+
+}
diff --git a/xfce4-battery-plugin/post-install b/xfce4-battery-plugin/post-install
new file mode 100644
index 0000000..630c6ff
--- /dev/null
+++ b/xfce4-battery-plugin/post-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# update icon cache
+
+gtk-update-icon-cache /usr/share/icons/hicolor
+
+# End post install file