void-packages/srcpkgs/yank/template

22 lines
668 B
Bash

# Template file for 'yank'
pkgname=yank
version=1.3.0
revision=1
build_style=gnu-makefile
make_use_env=yes
make_build_args="YANKCMD=$(vopt_if wayland wl-copy xsel)"
depends="$(vopt_if wayland wl-clipboard xsel)"
short_desc="Yank terminal output to clipboard"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/mptre/yank"
changelog="https://raw.githubusercontent.com/mptre/yank/master/CHANGELOG.md"
distfiles="https://github.com/mptre/yank/releases/download/v${version}/yank-${version}.tar.gz"
checksum=d49c2ed2b84cc24792acb407c6aa3a8d255b90476a2bcd36b103bd0c5e216f1c
build_options="wayland"
post_install() {
vlicense LICENSE
}