Fix version

This commit is contained in:
Sayantan Santra 2022-11-19 23:23:17 -06:00
parent 71f42916a8
commit 3ef23d31d0

View file

@ -16,7 +16,8 @@ version() {
}
package() {
curl -sL "https://github.com/sharkdp/bat/releases/download/$version/bat-$version-x86_64-unknown-linux-musl.tar.gz" -o bat.tar.gz
echo Installing bat $version
curl -L "https://github.com/sharkdp/bat/releases/download/$version/bat-$version-x86_64-unknown-linux-musl.tar.gz" -o bat.tar.gz
tar xzvf "bat.tar.gz" -C .
cd "./bat-$version-x86_64-unknown-linux-musl"
install -Dm755 "./bat" "${pkgdir}/usr/local/bin/bat"