wok-next view svgcleaner/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
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 }