wok-next annotate svgcleaner/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents c37d2f8310e0
children ee3b11a5266b
rev   line source
al@19743 1 # SliTaz package receipt v2.
al@19473 2
al@19473 3 PACKAGE="svgcleaner"
al@20443 4 VERSION="0.9.3"
al@20443 5 #COMMIT="9acf547"
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 }