diff options
author | Tim Biermann <tbier@posteo.de> | 2021-09-19 22:58:50 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-09-19 22:58:50 +0200 |
commit | d45ed974795024f95c87117daaf55c47c6321d01 (patch) | |
tree | 08799ca87a3728938f29b4efcf221a2b819064bd /pastel | |
parent | bb3a30ae8fc006c03f7fa57fece168559d966191 (diff) | |
download | contrib-d45ed974795024f95c87117daaf55c47c6321d01.tar.gz contrib-d45ed974795024f95c87117daaf55c47c6321d01.tar.xz |
pastel: initial commit, version 0.8.1
Diffstat (limited to 'pastel')
-rw-r--r-- | pastel/.footprint | 3 | ||||
-rw-r--r-- | pastel/.signature | 5 | ||||
-rw-r--r-- | pastel/Pkgfile | 19 |
3 files changed, 27 insertions, 0 deletions
diff --git a/pastel/.footprint b/pastel/.footprint new file mode 100644 index 000000000..44d7ea94d --- /dev/null +++ b/pastel/.footprint @@ -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 diff --git a/pastel/.signature b/pastel/.signature new file mode 100644 index 000000000..361054849 --- /dev/null +++ b/pastel/.signature @@ -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 diff --git a/pastel/Pkgfile b/pastel/Pkgfile new file mode 100644 index 000000000..7c9a4460f --- /dev/null +++ b/pastel/Pkgfile @@ -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 +} |