makedeb


deb-get-git 0.3.5.r1.fb2ca3f-1


Script to manage .deb installs from 3rd party vendors/projects.

Click here to go back to the commit logs for deb-get-git.

Commit:


Hash: 403d6194dc0c885bba209d0ffc5395409453ce82

Message: monotonic version fonction

Diff


diff --git a/.SRCINFO b/.SRCINFO
index dc8516d..3bb68ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = deb-get-git
 pkgbase = deb-get-git
 pkgdesc = Script to manage .deb installs from 3rd party vendors/projects.
 pkgrel = 1
-pkgver = 0.3.5.fb2ca3f
+pkgver = 0.3.5.r1.fb2ca3f
 url = https://github.com/wimpysworld/deb-get
 arch = all
 conflicts = deb-get
diff --git a/PKGBUILD b/PKGBUILD
index a65e1ce..40e995c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 _pkgname='deb-get'
 pkgname='deb-get-git'
-pkgver=0.3.5.fb2ca3f
+pkgver=0.3.5.r1.fb2ca3f
 pkgrel=1
 pkgdesc="Script to "manage" .deb installs from 3rd party vendors/projects."
 arch=('all')
@@ -17,7 +17,7 @@ b2sums=('SKIP')
 
 pkgver() {
   cd "$srcdir/$_pkgname"
-  printf "%s.%s" "$(grep "^readonly VERSION" deb-get | cut -d'"' -f2)" "$(git rev-parse --short HEAD)"
+  printf "%s.r%s.%s" "$(grep "^readonly VERSION" deb-get | cut -d'"' -f2)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }
 
 package() {