From 9ff8a00558095e10e5e1b7a1a27849849796588b Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sun, 18 Dec 2022 14:45:44 +0100 Subject: [PATCH] New package: shotgun-2.2.1 --- srcpkgs/shotgun/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/shotgun/template diff --git a/srcpkgs/shotgun/template b/srcpkgs/shotgun/template new file mode 100644 index 000000000000..d46458656157 --- /dev/null +++ b/srcpkgs/shotgun/template @@ -0,0 +1,23 @@ +# Template file for 'shotgun' +pkgname=shotgun +version=2.3.1 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libX11-devel libXrandr-devel" +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/v${version}/shotgun-${version}.tar.gz" +checksum=d3a707251cd6827b1705fd98089ece90c75383b2047833312f8d08f09d96b91b + +post_extract() { + rm build.rs + vsed -i Cargo.toml -e '/^build = "build.rs"/ d' +} + +post_install() { + vdoc README.md + vlicense LICENSE +}