From 2ab9feebea67d0f370f9c1f83430503369ef520f 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..2cf956aa33e1 --- /dev/null +++ b/srcpkgs/shotgun/template @@ -0,0 +1,23 @@ +# Template file for 'shotgun' +pkgname=shotgun +version=2.2.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}.tar.gz" +checksum=05a5daf2fe7a021ac8e78bf2059995b514621c2fe9e2be15fa7cf68d5ec52ca7 + +post_extract() { + rm build.rs + vsed -i Cargo.toml -e '/^build = "build.rs"/ d' +} + +post_install() { + vdoc README.md + vlicense LICENSE +}