From cfa317274983838d7992e617227474d4fcbbef2a Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Tue, 21 Jul 2020 17:26:25 -0500 Subject: [PATCH] New package: castor-0.8.16 --- srcpkgs/castor/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/castor/template diff --git a/srcpkgs/castor/template b/srcpkgs/castor/template new file mode 100644 index 00000000000..7fdfe59e906 --- /dev/null +++ b/srcpkgs/castor/template @@ -0,0 +1,23 @@ +# Template file for 'castor' +pkgname=castor +version=0.8.16 +revision=1 +wrksrc="${pkgname}-${version}" +build_style=cargo +hostmakedepends="pkg-config" +makedepends="atk-devel pango-devel gdk-pixbuf-devel gtk+3-devel cairo-devel libressl-devel" +short_desc="Graphical client for plain-text protocols written in Rust with GTK" +maintainer="Zach Dykstra " +license="MIT" +homepage="https://git.sr.ht/~julienxx/castor" +distfiles="https://git.sr.ht/~julienxx/castor/archive/${version}.tar.gz" +checksum=50414f498c3b6232efb00e883043854517290b842e0501c1d1eccfaf78be9ae3 + +pre_build() { + vsed -i Makefile -e '/update-desktop-database/d' +} + +post_install() { + make copy-data + vlicense LICENSE +}