wok-next view svgcleaner/receipt @ rev 20430

fake-sane: fix copy-paste typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:29:11 2018 +0200 (2018-01-24)
parents 38cf0c75fa4c
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="svgcleaner"
4 VERSION="0.9.1"
5 #COMMIT="0ba759e"
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 }