aboutsummaryrefslogtreecommitdiff
path: root/xfce4-calculator-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'xfce4-calculator-plugin')
-rw-r--r--xfce4-calculator-plugin/.footprint34
-rw-r--r--xfce4-calculator-plugin/.signature5
-rw-r--r--xfce4-calculator-plugin/Pkgfile26
-rw-r--r--xfce4-calculator-plugin/post-install7
4 files changed, 72 insertions, 0 deletions
diff --git a/xfce4-calculator-plugin/.footprint b/xfce4-calculator-plugin/.footprint
new file mode 100644
index 0000000..3ff1711
--- /dev/null
+++ b/xfce4-calculator-plugin/.footprint
@@ -0,0 +1,34 @@
+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/libcalculator.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-calculator-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-calculator-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-calculator-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/256x256/
+drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/256x256/apps/xfce4-calculator-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-calculator-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/xfce4-calculator-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/xfce4-calculator-plugin.png
+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/calculator.desktop
diff --git a/xfce4-calculator-plugin/.signature b/xfce4-calculator-plugin/.signature
new file mode 100644
index 0000000..62e3bd0
--- /dev/null
+++ b/xfce4-calculator-plugin/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/xfce4.pub
+RWRSAbUnL7azFHdBJOtVnKx2/D9mp1WtuC0Vl9fSX3RS6iIa/VxTEz6NQWZ+s6iflSGbGCZVu7MIM+v4HD04b+oknf6vfWhd1gk=
+SHA256 (Pkgfile) = 7106e9683293629e829a3378568532182129fde619ac20672d9fadc4c4604ade
+SHA256 (.footprint) = 88040fb43627773d4e9f27677acbf4fc1e89510dd78b57e05c34a5148984b628
+SHA256 (xfce4-calculator-plugin-0.8.0.tar.xz) = aaf3d7e9654ef6cf8ec442ad9e4316c481f9a6087a8e8949261140f5ae136aeb
diff --git a/xfce4-calculator-plugin/Pkgfile b/xfce4-calculator-plugin/Pkgfile
new file mode 100644
index 0000000..ba6666f
--- /dev/null
+++ b/xfce4-calculator-plugin/Pkgfile
@@ -0,0 +1,26 @@
+# Description: A calculator plugin for the xfce-panel
+# URL: https://xfce.org
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: xfce4-panel
+
+name=xfce4-calculator-plugin
+version=0.8.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-calculator-plugin/post-install b/xfce4-calculator-plugin/post-install
new file mode 100644
index 0000000..630c6ff
--- /dev/null
+++ b/xfce4-calculator-plugin/post-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# update icon cache
+
+gtk-update-icon-cache /usr/share/icons/hicolor
+
+# End post install file