Package Details: sane-airscan-git 0.9.12-1

Git Clone URL: https://aur.archlinux.org/sane-airscan-git.git (read-only, click to copy)
Package Base: sane-airscan-git
Description: SANE - Apple AirScan (eSCL) driver
Upstream URL: https://github.com/alexpevzner/sane-airscan
Keywords: airscan
Licenses: GPLv2
Provides: sane-airscan
Submitter: thkis001
Maintainer: thkis001
Last Packager: thkis001
Votes: 1
Popularity: 0.44
First Submitted: 2020-01-09 21:18
Last Updated: 2020-01-30 15:35

Latest Comments

tinywrkb commented on 2020-02-08 19:14

Is this a git package or not? the current PKGBUILD confuse yay as it considers it as a git package and rebuilds it each time master HEAD changes.

If it's a git package then fix the pkgver() function to generate appropriate pkgver value, something like:

git describe --long 2> /dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

If this is not a git package then drop the pkgver() function and rename the package sane-airscan.