ports/contrib (3.7): wl-clipboard: initial commit, version 2.1.0
commit c80f1c9d9c295cfd2b14ef959cc939d956b06b28 Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 30 10:07:12 2022 +0000 wl-clipboard: initial commit, version 2.1.0 diff --git a/wl-clipboard/.footprint b/wl-clipboard/.footprint new file mode 100644 index 000000000..b9da9c59f --- /dev/null +++ b/wl-clipboard/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/wl-copy +-rwxr-xr-x root/root usr/bin/wl-paste +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/wl-clipboard.1.gz +-rw-r--r-- root/root usr/share/man/man1/wl-copy.1.gz +-rw-r--r-- root/root usr/share/man/man1/wl-paste.1.gz diff --git a/wl-clipboard/.signature b/wl-clipboard/.signature new file mode 100644 index 000000000..62e6ec329 --- /dev/null +++ b/wl-clipboard/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF37HsN05G04B+jNErn/RIOOz7DihCHqE7NBvcDhlHU0wZAz+X9pKzpXRjlKCZAktI6Exh4mFOooVm2jb2mIQS8gE= +SHA256 (Pkgfile) = cdc53ce72c1de3947c0d6576a49bd1df46d96171397ebb5f254f9dd5a4e459ca +SHA256 (.footprint) = 011182cba71b7975baa2ba8ced498d8e8ea52041e24a876a4699c9eee5146daf +SHA256 (wl-clipboard-2.1.0.tar.gz) = 72dab9a7d3835c76d6ff2089f15ffec9e064a321e5f3cbbe961a8fa81aff5573 diff --git a/wl-clipboard/Pkgfile b/wl-clipboard/Pkgfile new file mode 100644 index 000000000..48395f4de --- /dev/null +++ b/wl-clipboard/Pkgfile @@ -0,0 +1,27 @@ +# Description: Command-line copy/paste utilities for Wayland +# URL: https://github.com/bugaevc/wl-clipboard +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: wayland +# Optional: wayland-protocols xdg-utils + +name=wl-clipboard +version=2.1.0 +release=1 +source=(https://github.com/bugaevc/wl-clipboard/archive/v$version/$name-$version.tar...) + +build() { + prt-get isinst zsh || PKGMK_WLC+=' -D zshcompletiondir=no' + #prt-get isinst zsh && PKGMK_WLC+=' -D zshcompletiondir=/usr/share/zsh/site-functions/' + + meson setup $name-$version build $PKGMK_WLC \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true \ + -D fishcompletiondir=no + meson compile -C build + DESTDIR=$PKG meson install -C build + + prt-get isinst bash-completion || rm -r $PKG/usr/share/bash-completion +}
participants (1)
-
crux@crux.nu