makedeb


mov-cli-git 4.4.5.r429.e70bdfc-1


Python script for watching movies and TV shows via the terminal.

Click here to go back to the commit logs for mov-cli-git.

Commit:


Hash: a707a64b3d72243516a3c572becc292ce9ea99f8

Message: new versioning scheme

Diff


diff --git a/.SRCINFO b/.SRCINFO
index af8bfdf..5ede70b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,7 +4,7 @@ pkgname = mov-cli-py-git-experimental
 pkgbase = mov-cli-git
 pkgdesc = Bash and python script for watching movies and TV shows via the terminal
 pkgrel = 1
-pkgver = 1r.80e3aea
+pkgver = 0.5.0.r0.g3c24b4c
 url = https://github.com/mov-cli/mov-cli
 arch = all
 license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 6c29370..26d08e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 pkgbase='mov-cli-git'
 _pkgname='mov-cli'
 pkgname=('mov-cli-sh-git' 'mov-cli-py-git-experimental')
-pkgver=1r.80e3aea
+pkgver=0.5.0.r0.g3c24b4c
 pkgrel=1
 pkgdesc="Bash and python script for watching movies and TV shows via the terminal"
 arch=('all')
@@ -15,7 +15,8 @@ sha256sums=('SKIP')
 
 pkgver() {
   cd "$srcdir/$_pkgname"
-  printf "%sr.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+
+  git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
 package_mov-cli-sh-git() {