Package Details: libfprint-cs9711 1.94.8-3

Git Clone URL: https://aur.archlinux.org/libfprint-cs9711.git (read-only, click to copy)
Package Base: libfprint-cs9711
Description: libfprint with proprietary FPC match on host device CS9711Fingprint driver
Upstream URL: https://fprint.freedesktop.org/
Licenses: LGPL-2.1-or-later
Groups: fprint
Conflicts: libfprint
Provides: libfprint, libfprint-2.so
Submitter: wz0311
Maintainer: wz0311
Last Packager: wz0311
Votes: 2
Popularity: 0.76
First Submitted: 2024-11-30 08:19 (UTC)
Last Updated: 2025-01-26 01:49 (UTC)

Latest Comments

dreieck commented on 2025-03-24 14:37 (UTC)

You download the latest state from a git repository.

So, you must:

  • Rename your package to libfprint-cs9711-git (i.e. with the -git suffix) (to do so, submit a new package under the new name and then file a merge request to the old package, to be merged into the new one),
  • add a proper pkgver()-function,
  • add provides=("libfprint-cs9711") or, if the pkgver() returns the release package version (e.g. 1.94.9) in the first part, preferrably `provides=("libfprint-cs9711=${pkgver}"),
  • in the latter case you can also optionally add the =${pkgver}-part to the libfprint provides entry,
  • preferrably add replaces=("libfprint-cs9711<=1.94.8") so that an update process automatically recognises the renamed package as the successor of this one.

An example for a pkgver():

pkgver() {
  cd "libfprint-CS9711"

  _ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Version could not be determined."
    return 1
  else
    printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
  fi
}

Regards and many thanks for this package!

Genues commented on 2025-01-26 08:11 (UTC)

@wz0311 Thank you!

wz0311 commented on 2025-01-26 02:06 (UTC)

@Genues I just update it!

Genues commented on 2024-12-18 13:38 (UTC)

Hi. Why you don't use the developer's (https://github.com/ericlinagora/libfprint-CS9711) repository?