clipmenu: Import clipmenu-6.1.0 as wip/clipmenu

clipmenu is a simple clipboard manager using dmenu and xsel.

clipmenu has many useful features, including:

 - Customising the maximum number of clips stored (default 1000)
 - Disabling clip collection temporarily with clipctl disable, reenabling
   with clipctl enable
 - Not storing clipboard changes from certain applications, like password
   managers
 - Taking direct ownership of the clipboard

Still WIP, for possible more information about known problems that should be
investigated please give a look to TODO.
This commit is contained in:
Leonardo Taccari 2020-08-02 16:55:39 +02:00
parent 3905f1ba44
commit 3cb4ff6455
6 changed files with 68 additions and 0 deletions

View File

@ -431,6 +431,7 @@ SUBDIR+= clfswm
SUBDIR+= clhep
SUBDIR+= cli-git
SUBDIR+= clic
SUBDIR+= clipmenu
SUBDIR+= clipnotify
SUBDIR+= cliquer
SUBDIR+= clisp

10
clipmenu/DESCR Normal file
View File

@ -0,0 +1,10 @@
clipmenu is a simple clipboard manager using dmenu and xsel.
clipmenu has many useful features, including:
- Customising the maximum number of clips stored (default 1000)
- Disabling clip collection temporarily with clipctl disable, reenabling
with clipctl enable
- Not storing clipboard changes from certain applications, like password
managers
- Taking direct ownership of the clipboard

41
clipmenu/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $NetBSD$
DISTNAME= clipmenu-6.1.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=cdown/}
MAINTAINER= leot@NetBSD.org
HOMEPAGE= https://github.com/cdown/clipmenu/
COMMENT= Clipboard management using dmenu
LICENSE= public-domain
NO_BUILD= yes
USE_TOOLS+= bash:run
DEPENDS+= clipnotify-[0-9]*:../../wip/clipnotify
DEPENDS+= dmenu-[0-9]*:../../x11/dmenu
DEPENDS+= xsel-[0-9]*:../../x11/xsel
REPLACE_BASH+= clipctl
REPLACE_BASH+= clipdel
REPLACE_BASH+= clipfsck
REPLACE_BASH+= clipmenu
REPLACE_BASH+= clipmenud
REPLACE_BASH+= tests/test-clipmenu
REPLACE_BASH+= tests/test-perf
CLIPMENU_SCRIPTS+= clipctl
CLIPMENU_SCRIPTS+= clipdel
CLIPMENU_SCRIPTS+= clipmenu
CLIPMENU_SCRIPTS+= clipmenud
INSTALLATION_DIRS= bin share/doc/clipmenu
do-install:
.for s in ${CLIPMENU_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${s} ${DESTDIR}${PREFIX}/bin
.endfor
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/clipmenu
.include "../../mk/bsd.pkg.mk"

6
clipmenu/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $NetBSD$
bin/clipctl
bin/clipdel
bin/clipmenu
bin/clipmenud
share/doc/clipmenu/README.md

4
clipmenu/TODO Normal file
View File

@ -0,0 +1,4 @@
- Investigate what is `truncate' tool used in clipmenud and if there is any
portable way to do what it does
- Investigate possible semantic of %N in strftime(3) (used in the date(1)
invocation, probably not portable or a typo)

6
clipmenu/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (clipmenu-6.1.0.tar.gz) = 516cd44ce8171776b2b5a073d0fac551f8adbe6a
RMD160 (clipmenu-6.1.0.tar.gz) = 396d0c231b056bb2633d74b4bbbe24548846d3c4
SHA512 (clipmenu-6.1.0.tar.gz) = 1392b08025b564dc17ca44e43847fdea85886b89fdd5426635c9c16d204610c6a9cc19297a20cdbc2eeef2c878adbfe994a2cfd05176457ca6fcbc75bc036acc
Size (clipmenu-6.1.0.tar.gz) = 8711 bytes