restructure #3

Merged
wyj merged 82 commits from dev into main 2026-01-18 20:12:27 -05:00
Showing only changes of commit d48db67289 - Show all commits

View File

@@ -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: