Package Details: sane-airscan-git 0.9.17.r5.g59280c9-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: GPL2
Conflicts: sane-airscan
Provides: sane-airscan
Submitter: thkis001
Maintainer: None
Last Packager: thkis001
Votes: 1
Popularity: 0.000000
First Submitted: 2020-01-09 21:18 (UTC)
Last Updated: 2020-04-07 11:50 (UTC)

Dependencies (4)

Required by (7)

Sources (1)

Latest Comments

tinywrkb commented on 2020-02-08 19:14 (UTC) (edited on 2020-02-08 19:15 (UTC) by tinywrkb)

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.