pastel: initial commit, version 0.8.1

This commit is contained in:
Tim Biermann 2021-09-19 22:58:50 +02:00
parent bb3a30ae8f
commit d45ed97479
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 27 additions and 0 deletions

3
pastel/.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/pastel

5
pastel/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38gLY4H1i5AN1YZAJsX96tJa9P6+exGCvjthXDnA9xooQAmisEnhX5HGI6zBy7xHCJCw4iA9DwjWiXNtr7hOhQw=
SHA256 (Pkgfile) = 41861b393c1730d5e36e34785e57935f6d6af89f93dc8f0e07de3d6330b36b20
SHA256 (.footprint) = 40bb1394cef52f6860b5655ab6a0b5c2c1d7196afc46c11a9e4ae4c6e8c70433
SHA256 (v0.8.1.tar.gz) = e1afcd8035a4c1da7f6d0fc8d5fc703dee72baa77bd0588a67d3b606e70146cb

19
pastel/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Description: A command-line tool to generate, analyze, convert and manipulate colors
# URL: https://github.com/sharkdp/pastel
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust
name=pastel
version=0.8.1
release=1
source=(https://github.com/sharkdp/pastel/archive/refs/tags/v0.8.1.tar.gz)
build() {
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir "$PKGMK_SOURCE_DIR/rust" || true
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
cargo update --manifest-path $name-$version/Cargo.toml
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}