diff --git a/srcpkgs/wob/template b/srcpkgs/wob/template new file mode 100644 index 00000000000..748a45e7bdf --- /dev/null +++ b/srcpkgs/wob/template @@ -0,0 +1,24 @@ +# Template file for 'wob' +pkgname=wob +version=0.4 +revision=1 +_wlrprotocols_hash="59497d93794efac39d8c85b1d964ad8a461cbeb6" +build_style=meson +hostmakedepends="pkg-config wayland-devel" +makedepends="wayland-devel wayland-protocols" +short_desc="Lightweight overlay volume/backlight/progress/anything bar for Wayland" +maintainer="travankor " +license="ISC" +homepage="https://github.com/francma/wob" +distfiles="https://github.com/francma/wob/archive/${version}.tar.gz + https://github.com/swaywm/wlr-protocols/archive/${_wlrprotocols_hash}.tar.gz" +checksum="dd5c398f29185c572884b29a438e42680647b505a0dfeb1c7a55a7274a878fbe + c15df924f4d9996d6207ada3f2d478ab955b0b8ebf33fd8e6a7f3d27a0911ed8" + +post_extract() { + mv -T "../wlr-protocols-${_wlrprotocols_hash}" wlr-protocols +} + +post_install() { + vlicense LICENSE +}