wok-next view svgcleaner/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | c37d2f8310e0 |
children | ee3b11a5266b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="svgcleaner"
4 VERSION="0.9.3"
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 mkdir -p $install/usr/bin
26 cp -a $src/target/release/svgcleaner $install/usr/bin
27 }
29 genpkg_rules() {
30 copy @std
31 }