From d48db67289e4984972f850083ae4c990d331e28d Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 18 Jan 2026 06:08:01 -0500 Subject: [PATCH] new bblfs: gui-apps/slurp-1.5.0 --- gui-apps/slurp-1.5.0.PKGBUILD | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 gui-apps/slurp-1.5.0.PKGBUILD diff --git a/gui-apps/slurp-1.5.0.PKGBUILD b/gui-apps/slurp-1.5.0.PKGBUILD new file mode 100644 index 0000000..8ccf5eb --- /dev/null +++ b/gui-apps/slurp-1.5.0.PKGBUILD @@ -0,0 +1,37 @@ +pkgname=slurp +pkgver=1.5.0 +pkgdesc="Select a region in a Wayland compositor and print it to the standard output" +homepage="https://github.com/emersion/slurp" +license=("MIT") +depends=( + wayland-protocols + wayland + cairo + libxkbcommon +) +bdepends=(wayland-scanner) +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/emersion/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=("77c4efdaa4ac411f43c598e5d654bcf61f969a5e403df6110757a7b217e02d55d0ba797729e42f8219d3bba79f58bcb36746799de765d3b25f301bf9ac3c1888") + +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 man-pages=disabled + ) + 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: