From 05488c267413d926a5ad54aa0c551edd589744a5 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Mon, 17 Apr 2023 14:53:38 +0200 Subject: [PATCH] New package: linuxwave-0.1.0 --- srcpkgs/linuxwave/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/linuxwave/template diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template new file mode 100644 index 000000000000..ad8c25846acb --- /dev/null +++ b/srcpkgs/linuxwave/template @@ -0,0 +1,25 @@ +# Template file for 'linuxwave' +pkgname=linuxwave +version=0.1.0 +revision=1 +_zig_clap_commit="749c43f1f846adc950a5920ed61b40cbc3ec2c54" +build_wrksrc=${pkgname}-${version} +build_style=zig-build +short_desc="Generate music from the entropy of Linux" +maintainer="Marcin Puc " +license="MIT" +homepage="https://orhun.dev/linuxwave/" +changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md" +distfiles="https://github.com/orhun/linuxwave/archive/refs/tags/v${version}.tar.gz + https://github.com/Hejsil/zig-clap/archive/${_zig_clap_commit}.tar.gz" +checksum="ce580d8c847e5d42fbc5439e905b75c5f079fa9abb2b5f3ca3f97c17eb7d0404 + 7faa4056ad672f36468ba17482538ce3a3dc170789411a9f139ee60bd5f5452c" + +post_extract() { + mv -T zig-clap-${_zig_clap_commit} ${pkgname}-${version}/libs/zig-clap +} + +post_install() { + vlicense LICENSE + vman man/linuxwave.1 +}