Package Details: bat-extras-git 20190117.r8.g765658c-2

Git Clone URL: https://aur.archlinux.org/bat-extras-git.git (read-only, click to copy)
Package Base: bat-extras-git
Description: Bash scripts that integrate bat with various command line tools
Upstream URL: https://github.com/eth-p/bat-extras
Licenses: MIT
Submitter: desbma
Maintainer: desbma
Last Packager: desbma
Votes: 0
Popularity: 0.000000
First Submitted: 2019-11-23 16:37
Last Updated: 2020-01-23 20:09

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

yochananmarqos commented on 2020-01-23 00:34

You missed the bit that removes the leading v from the pkgver, see my comment again. Also see VCS package guidelines.

yochananmarqos commented on 2020-01-21 23:48

Git tags are now available:

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
20190117.r8.765658c

Please add git to makedepends() as well as add provides() and conflicts() arrays.

The license should also be installed.

desbma commented on 2019-11-25 13:45

@yochananmarqos Some users don't/want care about batgrep. Besides, this kind of stuff should be done in check(), so it should be checkdepends but the build script does not support separating building from testing.

yochananmarqos commented on 2019-11-25 00:59

...or you could add ripgrep to makedepends() for the check.

yochananmarqos commented on 2019-11-24 15:58

This does not build without ripgrep installed:

==> Starting build()...
This will not install the script.
Use --install for a global install.

Preparing scripts...
Building scripts...
    [1/4] /home/yochanan/.cache/yay/bat-extras-git/src/bat-extras/src/batgrep.sh
          Reading...
          Preprocessing...
          Minifying...
          Compressing [skipped]
          Building...
          Installing [skipped]
    [2/4] /home/yochanan/.cache/yay/bat-extras-git/src/bat-extras/src/batman.sh
          Reading...
          Preprocessing...
          Minifying...
          Compressing [skipped]
          Building...
          Installing [skipped]
    [3/4] /home/yochanan/.cache/yay/bat-extras-git/src/bat-extras/src/batwatch.sh
          Reading...
          Preprocessing...
          Minifying...
          Compressing [skipped]
          Building...
          Installing [skipped]
    [4/4] /home/yochanan/.cache/yay/bat-extras-git/src/bat-extras/src/prettybat.sh
          Reading...
          Preprocessing...
          Minifying...
          Compressing [skipped]
          Building...
          Installing [skipped]

Verifying scripts...
Test [batgrep.pattern]: Failed
Test [batgrep.symlink]: Failed
Test [lib.opt]: Passed
RESULT: 1 passed, 2 failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: bat-extras-git