svgcleaner: generate lockfile

This commit is contained in:
Jan Christian Grünhage 2023-04-08 19:28:40 +02:00 committed by classabbyamp
parent 970071d950
commit 35aae8c70b
1 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'svgcleaner' # Template file for 'svgcleaner'
pkgname=svgcleaner pkgname=svgcleaner
version=0.9.5 version=0.9.5
revision=1 revision=2
build_style=cargo build_style=cargo
short_desc="Tool for reducing size of svg images without loss" short_desc="Tool for reducing size of svg images without loss"
maintainer="Alexander Mamay <alexander@mamay.su>" maintainer="Alexander Mamay <alexander@mamay.su>"
@ -9,3 +9,12 @@ license="GPL-2.0-or-later"
homepage="https://github.com/RazrFalcon/SVGCleaner" homepage="https://github.com/RazrFalcon/SVGCleaner"
distfiles="https://github.com/RazrFalcon/SVGCleaner/archive/v${version}.tar.gz" distfiles="https://github.com/RazrFalcon/SVGCleaner/archive/v${version}.tar.gz"
checksum=dcf8dbc8939699e2e82141cb86688b6cd09da8cae5e18232ef14085c2366290c 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
}