wok annotate svgcleaner/receipt @ rev 24721
updated libburn and libburn-dev (1.5.2 -> 1.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 09:33:23 2022 +0100 (2022-03-15) |
parents | 077406ca833e |
children | e1e1678c5265 |
rev | line source |
---|---|
al@19473 | 1 # SliTaz package receipt. |
al@19473 | 2 |
al@19473 | 3 PACKAGE="svgcleaner" |
Hans-G?nter@23684 | 4 VERSION="0.9.5" |
al@19473 | 5 CATEGORY="graphics" |
Hans-G?nter@23684 | 6 SHORT_DESC="Clean up SVG files from the unnecessary data." |
al@19473 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19473 | 8 LICENSE="GPL2" |
al@19473 | 9 WEB_SITE="https://github.com/RazrFalcon/svgcleaner" |
Hans-G?nter@23684 | 10 |
Hans-G?nter@23684 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19487 | 12 WGET_URL="$WEB_SITE/archive/${COMMIT:-v$VERSION}.tar.gz" |
al@19473 | 13 |
al@19473 | 14 BUILD_DEPENDS="rust-cargo cacerts" |
al@19473 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
al@19473 | 22 # Rules to configure and make the package. |
al@19473 | 23 compile_rules() |
al@19473 | 24 { |
al@19473 | 25 # to build from crates: no source needed, but no version control |
al@19473 | 26 #cargo install svgcleaner --root=$install/usr |
al@19473 | 27 |
al@19473 | 28 cargo build --release |
Hans-G?nter@23684 | 29 |
al@19473 | 30 mkdir -p $install/usr/bin |
Hans-G?nter@23684 | 31 cp -a $src/target/release/svgcleaner $install/usr/bin |
al@19473 | 32 } |
al@19473 | 33 |
al@19473 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19473 | 35 genpkg_rules() |
al@19473 | 36 { |
Hans-G?nter@23684 | 37 cook_copy_files svgcleaner |
al@19473 | 38 } |