toml2json: initial commit, version 1.3.1

This commit is contained in:
Tim Biermann 2024-09-27 22:52:18 +02:00
parent 2409a324e5
commit 362ac8ae76
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 26 additions and 0 deletions

3
toml2json/.footprint Normal file
View 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
View 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
View 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
}