New package: shotgun-2.5.0

This commit is contained in:
Emil Miler 2022-12-18 14:45:44 +01:00 committed by Duncan Overbruck
parent cec17dac1d
commit 6422f692af

22
srcpkgs/shotgun/template Normal file
View file

@ -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 <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=862b9d6f1c418181d37375153e3ceadf87b738f5a48fcbd7257e07cd78b622a0
post_extract() {
rm build.rs
vsed -i Cargo.toml -e '/^build = "build.rs"/ d'
}
post_install() {
vdoc README.md
vlicense LICENSE
}