From 250003727a3b2b2ffe8f8b340e86519861623488 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 18 Jan 2026 04:32:31 -0500 Subject: [PATCH] new bblfs: gui-apps/wl-clipboard-2.2.1 --- gui-apps/wl-clipboard-2.2.1.PKGBUILD | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 gui-apps/wl-clipboard-2.2.1.PKGBUILD diff --git a/gui-apps/wl-clipboard-2.2.1.PKGBUILD b/gui-apps/wl-clipboard-2.2.1.PKGBUILD new file mode 100644 index 0000000..08bc684 --- /dev/null +++ b/gui-apps/wl-clipboard-2.2.1.PKGBUILD @@ -0,0 +1,30 @@ +pkgname=wl-clipboard +pkgver=2.2.1 +pkgdesc="Wayland clipboard utilities" +homepage="https://github.com/bugaevc/wl-clipboard" +license=("GPL-3") +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/bugaevc/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=("fdda519df42e1dbfb112ab7d8195a0f36cf5cf18fffffa8f32ac4688a08009e206b96a169da641f909c9acf244eb6a5201811842b4d3111e1ccdb1ce8fb4db43") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + local meson_args=( + --prefix=/usr + --buildtype=release + --wrap-mode=nodownload + -D python.bytecompile=1 + -D fishcompletiondir="/usr/share/fish/vendor_completions.d" + ) + meson setup build "${meson_args[@]}" + meson compile -C build +} + +src_install() { + meson install -C build --destdir "$pkgdir" +} + +# vim:ft=sh syn=sh et sw=2: