mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
parent
5e2bac5f4a
commit
df3af96e8e
1 changed files with 8 additions and 3 deletions
|
@ -1,16 +1,21 @@
|
||||||
# Template file for 'bat'
|
# Template file for 'bat'
|
||||||
pkgname=bat
|
pkgname=bat
|
||||||
version=0.11.0
|
version=0.12.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake llvm"
|
||||||
makedepends="libcurl-devel libssh2-devel oniguruma-devel"
|
makedepends="libcurl-devel libssh2-devel oniguruma-devel"
|
||||||
short_desc="Cat(1) clone with syntax highlighting and Git integration"
|
short_desc="Cat(1) clone with syntax highlighting and Git integration"
|
||||||
maintainer="John <johnz@posteo.net>"
|
maintainer="John <johnz@posteo.net>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/sharkdp/bat"
|
homepage="https://github.com/sharkdp/bat"
|
||||||
distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz"
|
distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz"
|
||||||
checksum=bb4e39efadfab71c0c929a92b82dac58deacfe2a4eb527d4256ac0634e042ed2
|
checksum=1dd184ddc9e5228ba94d19afc0b8b440bfc1819fef8133fe331e2c0ec9e3f8e2
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
|
||||||
|
export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
|
|
Loading…
Add table
Reference in a new issue