From 35aae8c70b158866dbbab08801d3871623d9e294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sat, 8 Apr 2023 19:28:40 +0200 Subject: [PATCH] svgcleaner: generate lockfile --- srcpkgs/svgcleaner/template | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/srcpkgs/svgcleaner/template b/srcpkgs/svgcleaner/template index 8f4c9cde387..1760ff075ae 100644 --- a/srcpkgs/svgcleaner/template +++ b/srcpkgs/svgcleaner/template @@ -1,7 +1,7 @@ # Template file for 'svgcleaner' pkgname=svgcleaner version=0.9.5 -revision=1 +revision=2 build_style=cargo short_desc="Tool for reducing size of svg images without loss" maintainer="Alexander Mamay " @@ -9,3 +9,12 @@ license="GPL-2.0-or-later" homepage="https://github.com/RazrFalcon/SVGCleaner" distfiles="https://github.com/RazrFalcon/SVGCleaner/archive/v${version}.tar.gz" checksum=dcf8dbc8939699e2e82141cb86688b6cd09da8cae5e18232ef14085c2366290c + +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + broken="https://l2.re/VbT_3G" +fi + +post_patch() { + # Upstream does not ship a lockfile yet: + cargo generate-lockfile +}