diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rwxr-xr-x | PKGBUILD | 11 |
2 files changed, 9 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = ywatch-git pkgdesc = Watch youtube videos with mpv while saving the video to disk. - pkgver = 0.6.3 - pkgrel = 2 + pkgver = 0.6.3.r61.b5a1352 + pkgrel = 1 url = https://github.com/prayzjomba/ywatch.git arch = any license = GPL @@ -1,7 +1,10 @@ # Maintainer: Prayz Jomba <prayzjomba@protonmail.com> pkgname=ywatch-git -pkgver=0.6.3 -pkgrel=2 +pkgver=0.6.3.r61.b5a1352 +pkgver() { cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} +pkgrel=1 pkgdesc="Watch youtube videos with mpv while saving the video to disk." arch=(any) url="https://github.com/prayzjomba/ywatch.git" @@ -11,12 +14,12 @@ makedepends=('git' 'make' 'python-setuptools') provides=(yw) install= changelog= -source=("$pkgname"::"git+$url#branch=$pkgver") +source=("$pkgname"::"git+$url#branch=0.6.3") md5sums=('SKIP') pkgver() { cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "0.6.3.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } |