From cbdc6bfc82b45e767e69838e0f26df3dff14ca9b 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.2 --- 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..d792e388c50c --- /dev/null +++ b/srcpkgs/linuxwave/template @@ -0,0 +1,25 @@ +# Template file for 'linuxwave' +pkgname=linuxwave +version=0.1.2 +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="51d69e81d7d3b6def3cb1b44a82a75065314e2ba2b49d1bb3e7f6eb0fe381bda + 7faa4056ad672f36468ba17482538ce3a3dc170789411a9f139ee60bd5f5452c" + +post_extract() { + mv -T zig-clap-${_zig_clap_commit} ${pkgname}-${version}/libs/zig-clap +} + +post_install() { + vlicense LICENSE + vman man/linuxwave.1 +}