void-packages/srcpkgs/shotgun/template

23 lines
571 B
Bash

# Template file for 'shotgun'
pkgname=shotgun
version=2.5.1
revision=1
build_style=cargo
hostmakedepends="pkg-config"
short_desc="Minimal screenshot utility for X11"
maintainer="Emil Miler <em@0x45.cz>"
license="MPL-2.0"
homepage="https://github.com/nexromancers/shotgun"
distfiles="https://github.com/neXromancers/shotgun/archive/refs/tags/v${version}.tar.gz"
checksum=4f95fd9d97c50bfd17228b5f59c7ed69b42ed6b50ae45b0a15d202ec1e89a1c6
post_extract() {
rm build.rs
vsed -i Cargo.toml -e '/^build = "build.rs"/ d'
}
post_install() {
vdoc README.md
vlicense LICENSE
}