aboutsummaryrefslogtreecommitdiff
path: root/xfce4-stopwatch-plugin/Pkgfile
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
committerJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
commit9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch)
tree883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /xfce4-stopwatch-plugin/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
Diffstat (limited to 'xfce4-stopwatch-plugin/Pkgfile')
-rw-r--r--xfce4-stopwatch-plugin/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/xfce4-stopwatch-plugin/Pkgfile b/xfce4-stopwatch-plugin/Pkgfile
new file mode 100644
index 0000000..1367481
--- /dev/null
+++ b/xfce4-stopwatch-plugin/Pkgfile
@@ -0,0 +1,27 @@
+# Description: A simple stopwatch plugin for xfce-panel
+# URL: https://docs.xfce.org/panel-plugins/xfce4-stopwatch-plugin/start
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: xfce4-panel
+
+name=xfce4-stopwatch-plugin
+version=0.6.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 \
+ --libexecdir=/usr/lib \
+ --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
+
+}