From 32f389ded3cdc8f314e57d46cc9e2dfdf03b5b23 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Mon, 16 Oct 2023 15:42:08 +0300 Subject: [PATCH] Removing unnecessary parts from the version. --- projects/mujs.com/package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/mujs.com/package.yml b/projects/mujs.com/package.yml index 7154d0af..405a7362 100644 --- a/projects/mujs.com/package.yml +++ b/projects/mujs.com/package.yml @@ -24,6 +24,10 @@ build: - make prefix='{{prefix}}' release - make prefix='{{prefix}}' install - make prefix='{{prefix}}' install-shared + - run: | + sed -i.bak 's/Version: \([^\ ]*\)/Version: {{version}}/g' *.pc + rm *.bak + working-directory: "{{prefix}}/lib/pkgconfig" provides: - bin/mujs - bin/mujs-pp