From a62c2565093a2c19da473ae4aac978ff425d9d70 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/shotgun/template diff --git a/srcpkgs/shotgun/template b/srcpkgs/shotgun/template new file mode 100644 index 00000000000..ecf62ba7ae3 --- /dev/null +++ b/srcpkgs/shotgun/template @@ -0,0 +1,25 @@ +# 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" +arches="x86_64 i686 x86_64-musl" +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' +}