Date: Wednesday, May 6, 2020 @ 14:22:26 Author: arodseth Revision: 625053
archrelease: copy trunk to community-x86_64 Added: bat/repos/community-x86_64/PKGBUILD (from rev 625052, bat/trunk/PKGBUILD) Deleted: bat/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-06 14:22:20 UTC (rev 625052) +++ PKGBUILD 2020-05-06 14:22:26 UTC (rev 625053) @@ -1,43 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Wesley Moore <w...@wezm.net> - -pkgname=bat -pkgver=0.13.0 -pkgrel=1 -pkgdesc='Cat clone with syntax highlighting and git integration' -arch=(x86_64) -url='https://github.com/sharkdp/bat' -license=(APACHE MIT) -makedepends=(clang cmake git rust) -depends=(libssh2) -source=("git+$url#commit=5edd8260e8fef887bd4c7e39c411dfe843d03894") # tag: v0.13.0 -sha256sums=('SKIP') - -build() { - cd $pkgname - cargo build --release -} - -package() { - cd $pkgname - - # Package the executable - install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname" - - # Package the man page - find "$srcdir" -name bat.1 -exec install -Dm644 {} \ - "$pkgdir/usr/share/man/man1/bat.1" \; - - # Package the license files - install -Dm644 LICENSE-APACHE \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE" - install -Dm644 LICENSE-MIT \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT" - - # Package the fish completion file (already included in fish) - #find "$srcdir" -name bat.fish -exec install -Dm644 {} \ - # "$pkgdir/usr/share/fish/completions/bat.fish" \; -} - -# getver: github.com/sharkdp/bat/releases/latest -# vim: ts=2 sw=2 et: Copied: bat/repos/community-x86_64/PKGBUILD (from rev 625052, bat/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-06 14:22:26 UTC (rev 625053) @@ -0,0 +1,43 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Wesley Moore <w...@wezm.net> + +pkgname=bat +pkgver=0.15.0 +pkgrel=1 +pkgdesc='Cat clone with syntax highlighting and git integration' +arch=(x86_64) +url='https://github.com/sharkdp/bat' +license=(APACHE MIT) +makedepends=(clang cmake git rust) +depends=(libssh2) +source=("git+$url#commit=696d1b3ed3eae9ea9bd94fa7c4c05306dfd621b6") # tag: v0.15.0 +sha256sums=('SKIP') + +build() { + cd $pkgname + cargo build --release +} + +package() { + cd $pkgname + + # Package the executable + install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname" + + # Package the man page + find "$srcdir" -name bat.1 -exec install -Dm644 {} \ + "$pkgdir/usr/share/man/man1/bat.1" \; + + # Package the license files + install -Dm644 LICENSE-APACHE \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE" + install -Dm644 LICENSE-MIT \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT" + + # Package the fish completion file (already included in fish) + #find "$srcdir" -name bat.fish -exec install -Dm644 {} \ + # "$pkgdir/usr/share/fish/completions/bat.fish" \; +} + +# getver: github.com/sharkdp/bat/releases/latest +# vim: ts=2 sw=2 et: