wok-next view svgcleaner/receipt @ rev 21452

updated socat (2.0.0-b7 -> 2.0.0-b9)
author Hans-G?nter Theisgen
date Thu May 07 13:23:44 2020 +0100 (2020-05-07)
parents 0e7893ac206d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="svgcleaner"
4 VERSION="0.9.5"
5 #COMMIT="9acf547"
6 CATEGORY="graphics"
7 SHORT_DESC="Clean up SVG files from the unnecessary data"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/RazrFalcon/svgcleaner"
12 TARBALL="$PACKAGE-${COMMIT:-v$VERSION}.tar.gz"
13 WGET_URL="$GITHUB/RazrFalcon/svgcleaner/tarball/${COMMIT:-v$VERSION}"
15 BUILD_DEPENDS="rust"
17 compile_rules() {
18 # save caches here
19 export CARGO_HOME=/home/cargo
21 # to build from crates: no source needed, but no version control
22 #cargo install svgcleaner --root=$install/usr
24 cargo build --release
25 install -Dm755 target/release/svgcleaner $install/usr/bin/svgcleaner || return 1
27 cook_pick_docs *.md *.rst
28 }
30 genpkg_rules() {
31 copy @std
32 }