From 441bbc908639ed864076f38c7d72bdd8a7fdba92 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Fri, 13 Jan 2023 23:34:27 +0100 Subject: [PATCH] New package: Clipboard-0.3.2 --- srcpkgs/Clipboard/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/Clipboard/template diff --git a/srcpkgs/Clipboard/template b/srcpkgs/Clipboard/template new file mode 100644 index 000000000000..2ce541aa5eec --- /dev/null +++ b/srcpkgs/Clipboard/template @@ -0,0 +1,18 @@ +# Template file for 'Clipboard' +pkgname=Clipboard +version=0.3.2 +revision=1 +build_style=cmake +hostmakedepends="pkg-config wayland-devel" +makedepends="libX11-devel wayland-devel wayland-protocols" +short_desc="Cut, copy, and paste anything, anywhere, all from the terminal" +maintainer="Marcin Puc " +license="GPL-3.0-or-later" +homepage="https://github.com/Slackadays/Clipboard" +distfiles="https://github.com/Slackadays/Clipboard/archive/refs/tags/${version}.tar.gz" +checksum=6784aac212307cd7e6957e2ae9f71b4a98c1ce520351d8ca86c8a414b723c899 + +if [ "${XBPS_TARGET_NO_ATOMIC8}" ]; then + makedepends+=" libatomic-devel" + CXXFLAGS+=" -latomic" +fi