diff options
author | Vincent Grande | 2021-01-09 19:47:08 -0500 |
---|---|---|
committer | Vincent Grande | 2021-01-09 19:47:08 -0500 |
commit | 7287a52053aa7ee5bca356037831ecf8e0ef22a4 (patch) | |
tree | 263c9ec717ce4a0deb46121851f72510069489a3 /PKGBUILD | |
parent | 943f1ef10fc2c9f6e77842125d6a0baec7ca9245 (diff) | |
download | aur-xf86-video-amdgpu-nosystemd-git.tar.gz |
pkgver fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -19,14 +19,10 @@ provides=('xf86-video-amdgpu') groups=('xorg-drivers') source=("${pkgname}::git+https://gitlab.freedesktop.org/xorg/driver/${_pkgname}.git") sha256sums=('SKIP') -pkgver() { - local version count +pkgver() { cd "${pkgname}" - - version="$(git describe --abbrev=0 --tags)" - count="$(git rev-list --count ${version}..)" - printf '%s.%s' "${version#v}" "${count}"|sed 's/^xf86-video-amdgpu-//' + git describe --tags | sed 's/-/+/g' } build() { |