wok-current view svgcleaner/receipt @ rev 23671
updated stoqdrivers (0.9.8.2 -> 1.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 07:56:47 2020 +0100 (2020-04-26) |
parents | cb3ac397db94 |
children | 077406ca833e |
line source
1 # SliTaz package receipt.
3 PACKAGE="svgcleaner"
4 VERSION="0.7.1"
5 #COMMIT="1f1158f"
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"
11 TARBALL="$PACKAGE-${COMMIT:-v$VERSION}.tar.gz"
12 WGET_URL="$WEB_SITE/archive/${COMMIT:-v$VERSION}.tar.gz"
14 BUILD_DEPENDS="rust-cargo cacerts"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # to build from crates: no source needed, but no version control
20 #cargo install svgcleaner --root=$install/usr
22 cargo build --release
23 mkdir -p $install/usr/bin
24 cp -a $src/target/release/svgcleaner $install/usr/bin
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cook_copy_files svgcleaner
31 }