Package Details: detex-git 0.1.2alpha2.r7.g0a7d38c-1

Git Clone URL: https://aur.archlinux.org/detex-git.git (read-only, click to copy)
Package Base: detex-git
Description: Library for manipulation of texture formats such as BC1/DXT1/S3TC, BC2-BC3, BC4/RGTC1, BC5/RGTC2, BC6 (BPTC_FLOAT), BC7 (BPTC), ETC1 and the ETC2 family, loading of KTX and DDS files
Upstream URL: https://github.com/inequation/detex
Licenses: ISC
Conflicts: detex
Provides: detex
Submitter: encounter
Maintainer: encounter
Last Packager: encounter
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-07 05:06 (UTC)
Last Updated: 2019-10-07 05:06 (UTC)

Dependencies (1)

Required by (1)

Sources (2)

Latest Comments

dreieck commented on 2023-07-28 11:08 (UTC) (edited on 2023-07-28 11:08 (UTC) by dreieck)

Build fails for me in pkgver():

==> Starting pkgver()...
==> ERROR: A failure occurred in pkgver().

Here is a working pkgver():

pkgver() {
  cd ${_gitname:-$pkgname}

  _ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|-g[0-9a-f]*$||' -e 's|-|+|g')"
  _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 thanks for maintaining!