bat: initial commit, version 0.15.4
This commit is contained in:
parent
f3d3698d9d
commit
e4b47db67a
3
bat/.footprint
Normal file
3
bat/.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/bat
|
5
bat/.signature
Normal file
5
bat/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3xhUygXAzIA6Xb7zEB2aWt5Z6hLsSk1Ad8A5Ez/uDkV0OI5c7817OTUUV46dJ3G6JnVy1W+23Va0BYgB3Gdb1g8=
|
||||
SHA256 (Pkgfile) = 2057475168c3f4c13f15b86e1fce568377e4f5ec8f4f4e460cc30929f2f7c4b2
|
||||
SHA256 (.footprint) = 7d7c597044f485aecf5b2c12f56d294b1f8a66f7e2515693ad3b29aba8628209
|
||||
SHA256 (bat-0.15.4.tar.gz) = 03b7c8ad6221ca87cecd71f9e3e2167f04f750401e2d3dcc574183aabeb76a8b
|
21
bat/Pkgfile
Normal file
21
bat/Pkgfile
Normal file
@ -0,0 +1,21 @@
|
||||
# Description: A cat(1) clone with wings
|
||||
# URL: https://github.com/sharkdp/bat
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=bat
|
||||
version=0.15.4
|
||||
release=1
|
||||
source=(https://github.com/sharkdp/bat/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
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
|
||||
cargo fetch
|
||||
cargo build --release --locked
|
||||
install -Dt $PKG/usr/bin target/release/bat
|
||||
}
|
Loading…
Reference in New Issue
Block a user