aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/spectrwm/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/spectrwm/pkg-plist')
-rw-r--r--x11-wm/spectrwm/pkg-plist8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/pkg-plist b/x11-wm/spectrwm/pkg-plist
new file mode 100644
index 000000000000..cb8ebbdfbeac
--- /dev/null
+++ b/x11-wm/spectrwm/pkg-plist
@@ -0,0 +1,8 @@
+bin/scrotwm
+bin/startscrotwm
+lib/libswmhack.so
+%%EXAMPLESDIR%%/screenshot.sh
+@unexec if [ ! -f %D/etc/scrotwm.conf ] || cmp -s %D/etc/scrotwm.conf.sample %D/etc/scrotwm.conf; then rm -f %D/etc/scrotwm.conf; else echo %%PREFIX%%/etc/scrotwm.conf contains changes, remove it manually to delete this package completely.; fi
+etc/scrotwm.conf.sample
+@exec [ -f %D/etc/scrotwm.conf ] || cp -p %D/%F %D/etc/scrotwm.conf
+@dirrm %%EXAMPLESDIR%%