From e791a54ca55fc0ff6952013891c94c0e1be98492 Mon Sep 17 00:00:00 2001 From: Florian Warzecha Date: Wed, 1 Apr 2020 19:11:54 +0200 Subject: [PATCH] New package: shotgun-2.2.0 --- 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 00000000000..31f1e3c43e5 --- /dev/null +++ b/srcpkgs/shotgun/template @@ -0,0 +1,24 @@ +# Template file for 'shotgun' +pkgname=shotgun +version=2.2.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libX11-devel libXrandr-devel" +depends="libX11 libXrandr" +short_desc="Minimal screenshot utility for X11" +maintainer="Florian Warzecha " +license="MPL-2.0" +homepage="https://github.com/nexromancers/shotgun" +distfiles="https://github.com/nexromancers/shotgun/archive/v${version}.tar.gz" +checksum=c02df7284c8757f4592ce7dcbbd11330ea926379c5ff313f4932a7cbae00d24b + +post_install() { + vdoc README.md + vlicense LICENSE +} + +post_extract() { + rm build.rs + vsed -i Cargo.toml -e '/^build = "build.rs"/ d' +}