diff --git a/srcpkgs/shotgun/template b/srcpkgs/shotgun/template new file mode 100644 index 00000000000..dcefbb2cccb --- /dev/null +++ b/srcpkgs/shotgun/template @@ -0,0 +1,22 @@ +# Template file for 'shotgun' +pkgname=shotgun +version=2.5.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +short_desc="Minimal screenshot utility for X11" +maintainer="Emil Miler " +license="MPL-2.0" +homepage="https://github.com/nexromancers/shotgun" +distfiles="https://github.com/neXromancers/shotgun/archive/refs/tags/v${version}.tar.gz" +checksum=862b9d6f1c418181d37375153e3ceadf87b738f5a48fcbd7257e07cd78b622a0 + +post_extract() { + rm build.rs + vsed -i Cargo.toml -e '/^build = "build.rs"/ d' +} + +post_install() { + vdoc README.md + vlicense LICENSE +}