From 7a15ffe6b05fb787133201ab8fbf02e7bf1b0fa0 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/shotgun/template diff --git a/srcpkgs/shotgun/template b/srcpkgs/shotgun/template new file mode 100644 index 000000000000..5003553bd30b --- /dev/null +++ b/srcpkgs/shotgun/template @@ -0,0 +1,24 @@ +# Template file for 'shotgun' +pkgname=shotgun +version=2.2.1 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libX11-devel libXrandr-devel" +depends="libX11 libXrandr" +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 +}