new bblfs: gui-apps/swappy-1.5.1

This commit is contained in:
2026-01-18 06:42:30 -05:00
parent bbfadc6259
commit 88449be728

View File

@@ -0,0 +1,39 @@
pkgname=swappy
pkgver=1.5.1
pkgdesc="A Wayland native snapshot and editor tool, inspired by Snappy on macOS"
gomepage="https://github.com/jtheoof/swappy"
license=("MIT")
depends=(
glib:2
cairo
gdk-pixbuf:2
pango
"fontawesome[otf]"
xorg-proto
)
bdepends=(scdoc)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/jtheoof/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=("688ad9006965d6a3f9d2997335bc3e8172e4f6f53551bb92603cdc1f14138c25f9f7d28a87aa1cbcefc94f5da1701443a2ddf0e883b648ecc5a0b0ca28588217")
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=enabled
)
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: