From aef4588d22f0274d7c883ba6e019c969ce2bbd42 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.4.0 --- 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..b6cab1bf3c0d --- /dev/null +++ b/srcpkgs/shotgun/template @@ -0,0 +1,23 @@ +# Template file for 'shotgun' +pkgname=shotgun +version=2.4.0 +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=46a67f3a6ddc350d542c8251e002d0db5242169a55e8e143b6ee19dc3bb3d2af + +post_extract() { + rm build.rs + vsed -i Cargo.toml -e '/^build = "build.rs"/ d' +} + +post_install() { + vdoc README.md + vlicense LICENSE +}