From 4378939c469889a684182061845fe24d23ca5f83 Mon Sep 17 00:00:00 2001 From: Shubham Pawar Date: Tue, 22 Jun 2021 12:24:24 +0530 Subject: [PATCH] Minimalistic X11 color picker written is Rust --- srcpkgs/xcolor/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/xcolor/template diff --git a/srcpkgs/xcolor/template b/srcpkgs/xcolor/template new file mode 100644 index 000000000000..8ff7421e540f --- /dev/null +++ b/srcpkgs/xcolor/template @@ -0,0 +1,25 @@ +# Template file for 'xcolor' +pkgname=xcolor +version=0.5.0 +revision=1 +archs="x86_64" +wrksrc=${pkgname} +build_style=cargo +makedepends="libxcb-devel libX11-devel libXcursor-devel libXrender-devel" +hostmakedepends="rust python3 git pkg-config" +short_desc="Lightweight color picker for X11 written in Rust" +maintainer="Shubham Pawar " +license="MIT" +homepage="https://github.com/Soft/xcolor" +# distfiles="https://github.com/Soft/xcolor/archive/${version}.tar.gz" +checksum=35e8eaadeb53d77f90869af4e97bd2253a73f438624c7ce6ee7156d12bb83fce + +do_fetch() { + git clone https://github.com/Soft/xcolor.git ${wrksrc} +} + +post_install() { + vman man/xcolor.1 + vinstall extra/xcolor.desktop 644 usr/share/applications + vlicense LICENSE +}