Skip to content
Permalink
Browse files

bat 0.10.0-1

  • Loading branch information...
linuxchezmoi committed Apr 13, 2019
1 parent efaffa1 commit 42d0d0d256eed2161e4c61442e79c370b244e123
Showing with 35 additions and 0 deletions.
  1. +35 −0 cli-extra/bat/Pkgfile
@@ -0,0 +1,35 @@
# Depends on: libssh2 cmake rust


packager="sipo"
contributors=""
maintainer="sipo"


description="Cat clone with syntax highlighting and git integration"
url="https://github.com/sharkdp/bat"


name=bat
version=0.10.0
release=1


source=(https://github.com/sharkdp/bat/archive/v$version.tar.gz)


build(){
cd "$name-$version"
cargo build --release
}

package() {
cd "$name-$version"

install -Dm755 target/release/$name "$PKG/usr/bin/$name"
install -Dm644 doc/bat.1 "$PKG/usr/share/man/man1/bat.1"
install -Dm644 LICENSE-APACHE \
"$PKG/usr/share/licenses/$name/LICENSE-APACHE"
install -Dm644 LICENSE-MIT \
"$PKG/usr/share/licenses/$name/LICENSE-MIT"
}

0 comments on commit 42d0d0d

Please sign in to comment.
You can’t perform that action at this time.