wok-next annotate 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
rev   line source
al@19743 1 # SliTaz package receipt v2.
al@19473 2
al@19473 3 PACKAGE="svgcleaner"
al@19834 4 VERSION="0.9.1"
al@19834 5 #COMMIT="0ba759e"
al@19473 6 CATEGORY="graphics"
al@19473 7 SHORT_DESC="Clean up SVG files from the unnecessary data"
al@19473 8 MAINTAINER="al.bobylev@gmail.com"
al@19473 9 LICENSE="GPL2"
al@19473 10 WEB_SITE="https://github.com/RazrFalcon/svgcleaner"
al@19620 11
al@19487 12 TARBALL="$PACKAGE-${COMMIT:-v$VERSION}.tar.gz"
al@19620 13 WGET_URL="$GITHUB/RazrFalcon/svgcleaner/tarball/${COMMIT:-v$VERSION}"
al@19473 14
al@20229 15 BUILD_DEPENDS="rust"
al@19473 16
al@20229 17 compile_rules() {
al@19834 18 # save caches here
al@19834 19 export CARGO_HOME=/home/cargo
al@19834 20
al@19473 21 # to build from crates: no source needed, but no version control
al@19473 22 #cargo install svgcleaner --root=$install/usr
al@19473 23
al@19473 24 cargo build --release
al@19473 25 mkdir -p $install/usr/bin
al@19473 26 cp -a $src/target/release/svgcleaner $install/usr/bin
al@19473 27 }
al@19473 28
al@20229 29 genpkg_rules() {
al@19835 30 copy @std
al@19473 31 }