diff --git a/srcpkgs/Clipboard/template b/srcpkgs/Clipboard/template new file mode 100644 index 00000000000..2ce541aa5ee --- /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