From 5b2f1bbb919da8182815d20a76d01050ea7c2735 Mon Sep 17 00:00:00 2001 From: op Date: Wed, 13 Apr 2022 17:38:18 +0000 Subject: [PATCH] import clipmenu-6.2.0 clipmenu is a simple clipboard manager using dmenu or rofi. Despite being only <300 lines, clipmenu has many useful features, including: * Customising the maximum number of clips stored (default 1000) * Disabling clip collection temporarily with clipctl * Not storing clipboard changes from certain programs, like password managers * Taking direct ownership of the clipboard from Thim Cederlund, thanks! ok sthen@ --- x11/clipmenu/Makefile | 31 +++++++++++++++++++++++++++++++ x11/clipmenu/distinfo | 2 ++ x11/clipmenu/pkg/DESCR | 8 ++++++++ x11/clipmenu/pkg/PLIST | 7 +++++++ 4 files changed, 48 insertions(+) create mode 100644 x11/clipmenu/Makefile create mode 100644 x11/clipmenu/distinfo create mode 100644 x11/clipmenu/pkg/DESCR create mode 100644 x11/clipmenu/pkg/PLIST diff --git a/x11/clipmenu/Makefile b/x11/clipmenu/Makefile new file mode 100644 index 00000000000..6e59bb89efd --- /dev/null +++ b/x11/clipmenu/Makefile @@ -0,0 +1,31 @@ +COMMENT = simple clipboard manager using dmenu + +GH_ACCOUNT = cdown +GH_PROJECT = clipmenu +GH_TAGNAME = 6.2.0 + +CATEGORIES = x11 + +MAINTAINER = Thim Cederlund + +# Unlicense +PERMIT_PACKAGE = Yes + +RUN_DEPENDS = shells/bash \ + sysutils/flock \ + sysutils/truncate \ + x11/clipnotify \ + x11/dmenu \ + x11/xsel + +NO_TEST = Yes +NO_BUILD = Yes + +do-install: +.for x in clipctl clipdel clipfsck clipmenu clipmenud + ${INSTALL_SCRIPT} ${WRKSRC}/$x ${PREFIX}/bin/ +.endfor + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clipmenu/ + ${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/clipmenu/ + +.include diff --git a/x11/clipmenu/distinfo b/x11/clipmenu/distinfo new file mode 100644 index 00000000000..09edc38ab80 --- /dev/null +++ b/x11/clipmenu/distinfo @@ -0,0 +1,2 @@ +SHA256 (clipmenu-6.2.0.tar.gz) = FYMEKdvnjagWjnHG4cyfzPXE0D666MzvsKXbqpitu7g= +SIZE (clipmenu-6.2.0.tar.gz) = 9019 diff --git a/x11/clipmenu/pkg/DESCR b/x11/clipmenu/pkg/DESCR new file mode 100644 index 00000000000..18da27cb74b --- /dev/null +++ b/x11/clipmenu/pkg/DESCR @@ -0,0 +1,8 @@ +clipmenu is a simple clipboard manager using dmenu or rofi. Despite +being only <300 lines, clipmenu has many useful features, including: + + * Customising the maximum number of clips stored (default 1000) + * Disabling clip collection temporarily with clipctl + * Not storing clipboard changes from certain programs, like password + managers + * Taking direct ownership of the clipboard diff --git a/x11/clipmenu/pkg/PLIST b/x11/clipmenu/pkg/PLIST new file mode 100644 index 00000000000..a372fd5a8b3 --- /dev/null +++ b/x11/clipmenu/pkg/PLIST @@ -0,0 +1,7 @@ +bin/clipctl +bin/clipdel +bin/clipfsck +bin/clipmenu +bin/clipmenud +share/doc/clipmenu/ +share/doc/clipmenu/README.md