toml2json: initial commit, version 1.3.1
This commit is contained in:
parent
2409a324e5
commit
362ac8ae76
3
toml2json/.footprint
Normal file
3
toml2json/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/toml2json
|
5
toml2json/.signature
Normal file
5
toml2json/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/dQE1q4yFrHwM4nbK+H90XPtlbv2c55FPV8LD+oMvpVBQbVP5iCBDMpJD1ofuoOHmdBM3R8i+RIQ/ECfTc4xyAQ=
|
||||
SHA256 (Pkgfile) = 2770f38787f7af6f3a5d8437cced4c8e12b2ee88d93773260c5d203e40a4a5b5
|
||||
SHA256 (.footprint) = fa7e5b6b881986688f097c34acaf8a8e4934370c28005f13e61872d924dd0509
|
||||
SHA256 (toml2json-1.3.1.tar.gz) = d32aceb8387553a25bec45747cdb45ce6a079935a03eb13d3477f68cc1fecaaa
|
18
toml2json/Pkgfile
Normal file
18
toml2json/Pkgfile
Normal file
@ -0,0 +1,18 @@
|
||||
# Description: A very small CLI for converting TOML to JSON
|
||||
# URL: https://github.com/woodruffw/toml2json
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=toml2json
|
||||
version=1.3.1
|
||||
release=1
|
||||
source=(https://github.com/woodruffw/toml2json/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
||||
|
||||
cargo build --release --manifest-path $name-$version/Cargo.toml
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
}
|
Loading…
Reference in New Issue
Block a user