ports/contrib (3.7): clipman: initial commit, version 1.6.1
commit 33819e905e1dc92e6d5b2314232597b13190f2a0 Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 30 11:27:24 2022 +0000 clipman: initial commit, version 1.6.1 diff --git a/clipman/.footprint b/clipman/.footprint new file mode 100644 index 000000000..08a050863 --- /dev/null +++ b/clipman/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/clipman diff --git a/clipman/.signature b/clipman/.signature new file mode 100644 index 000000000..5af38be14 --- /dev/null +++ b/clipman/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3wZ6SVyC9dXv4mLq+X4Lfl0su7zpwMQqFf5EITRmF4i+1ibLQam+V2bAr0/IBVAfqdOb8FBm4DUc9hHBwTOYbQQ= +SHA256 (Pkgfile) = 85a15cf752ec25f3c64fb3028fc5b5c981d351be48beea6f37c8ffd22bff9652 +SHA256 (.footprint) = 9a48d7ada44cd2ead2a9f57594474cd54a01c6129faf9c75b97dd30e4a4f91ac +SHA256 (clipman-1.6.1.tar.gz) = 9bfd69ed299f7641188e05668442f074fca3b01858ea8e680499ace7a36dd108 diff --git a/clipman/Pkgfile b/clipman/Pkgfile new file mode 100644 index 000000000..4c808aa07 --- /dev/null +++ b/clipman/Pkgfile @@ -0,0 +1,29 @@ +# Description: A simple clipboard manager for Wayland +# URL: https://github.com/yory8/clipman +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: go startup-notification wl-clipboard-rs wlroots wofi + +name=clipman +version=1.6.1 +release=1 +source=(https://github.com/yory8/clipman/archive/v$version/$name-$version.tar.gz) + +build() { + cd $name-$version + + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + + mkdir "$PKGMK_SOURCE_DIR/gopath" || true + export GOPATH="$PKGMK_SOURCE_DIR/gopath" + + go build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -o $name . + install -Dm755 $name $PKG/usr/bin/$name +}
participants (1)
-
crux@crux.nu