bat: 0.23.0 -> 0.24.0
This commit is contained in:
parent
50ed4ca0b6
commit
e559cebe32
@ -1,3 +1,7 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/bat
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/bat.1.gz
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38yzN5h5AXwXv4iXntFbKErCigTLnH4paST9nxAkoydk6fh67W1jVqMLAUy6e1+aAxTD+amBb60X7g81AnKVpA4=
|
||||
SHA256 (Pkgfile) = 3557489a0256a9c3a6cad42cc8b3dcf334ebba65e03397b4bb32884e561e3a90
|
||||
SHA256 (.footprint) = 7d7c597044f485aecf5b2c12f56d294b1f8a66f7e2515693ad3b29aba8628209
|
||||
SHA256 (bat-0.23.0.tar.gz) = 30b6256bea0143caebd08256e0a605280afbbc5eef7ce692f84621eb232a9b31
|
||||
RWSagIOpLGJF3xvTiJ1rV5tJiHKLAnkMrTWydu+LbqmgHRXbBNyGmSvAUUx7pPlc7GmHGJky8kQc13Xfj+6xnMLGJGwd45cQ7Qg=
|
||||
SHA256 (Pkgfile) = 1e1fec44ed6b37d66948be2657289f081eb4dac9c6d98c988274170b50fe08d0
|
||||
SHA256 (.footprint) = 9bdbdead02744c8144d30b71b12a042b1c6f98fefbd5f77cc4c6a0b426f93c7a
|
||||
SHA256 (bat-0.24.0.tar.gz) = 907554a9eff239f256ee8fe05a922aad84febe4fe10a499def72a4557e9eedfb
|
||||
|
15
bat/Pkgfile
15
bat/Pkgfile
@ -5,7 +5,7 @@
|
||||
# Optional: libgit2
|
||||
|
||||
name=bat
|
||||
version=0.23.0
|
||||
version=0.24.0
|
||||
release=1
|
||||
source=(https://github.com/sharkdp/bat/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
@ -15,9 +15,22 @@ build() {
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
||||
|
||||
# always build man files and completion files
|
||||
sed -i -e '1,/cfg(feature = "application"/d' $name-$version/build.rs
|
||||
|
||||
export CFLAGS+=' -ffat-lto-objects -w'
|
||||
cargo build --release --manifest-path $name-$version/Cargo.toml \
|
||||
--no-default-features \
|
||||
--features "bugreport build-assets minimal-application $PKGMK_BAT"
|
||||
|
||||
prt-get isinst bash-completion && install -Dm644 \
|
||||
$name-$version/target/release/build/bat-*/out/assets/completions/bat.bash \
|
||||
$PKG/usr/share/bash-completion/completions/bash
|
||||
prt-get isinst zsh && install -Dm644 \
|
||||
$name-$version/target/release/build/bat-*/out/assets/completions/bat.zsh \
|
||||
$PKG/usr/share/zsh/site-functions/_bat
|
||||
|
||||
install -Dm644 $name-$version/target/release/build/bat-*/out/assets/manual/bat.1 \
|
||||
$PKG/usr/share/man/man1/bat.1
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user