Skip to content

Commit a0b2330

Browse files
committed
build(arch): update PKGBUILD pkgname and pkgver
Signed-off-by: k4yt3x <i@k4yt3x.com>
1 parent 3c342f5 commit a0b2330

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packaging/arch/PKGBUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pkgname=video2x
2-
pkgver=r958.996b0bf
1+
pkgname=video2x-git
2+
pkgver=0
33
pkgrel=1
44
pkgdesc="A machine learning-based video super resolution and frame interpolation framework"
55
arch=('x86_64')
@@ -9,7 +9,7 @@ depends=('ffmpeg' 'ncnn' 'vulkan-driver' 'spdlog' 'boost-libs')
99
makedepends=('git' 'cmake' 'clang' 'vulkan-headers' 'openmp' 'boost')
1010

1111
pkgver() {
12-
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
12+
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
1313
}
1414

1515
prepare() {

0 commit comments

Comments
 (0)