From c01fa16c00102f99da42cf155834a9fd2222f83d Mon Sep 17 00:00:00 2001 From: lukas-jo Date: Wed, 6 Dec 2023 10:03:43 +0100 Subject: [PATCH] New package: chess-tui-1.0.0 --- srcpkgs/chess-tui/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/chess-tui/template diff --git a/srcpkgs/chess-tui/template b/srcpkgs/chess-tui/template new file mode 100644 index 0000000000000..b5fbf47955277 --- /dev/null +++ b/srcpkgs/chess-tui/template @@ -0,0 +1,23 @@ +# Template file for 'chess-tui' +pkgname=chess-tui +version=1.0.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +short_desc="Chess TUI implementation in rust" +maintainer="Lukas Jordan " +license="MIT" +homepage="https://github.com/thomas-mauran/chess-tui" +changelog="https://github.com/thomas-mauran/chess-tui/releases" +distfiles="https://github.com/thomas-mauran/chess-tui/archive/refs/tags/${version}.tar.gz" +checksum=b257e75174efaf89fdf18dead94bac759142bc5e6efe4fc34c529d9f5b3119ec + +pre_build() { + # Cargo.lock isn't in upstream version control + cargo update +} + +post_install() { + vlicense LICENSE + vdoc README.md +}