makedeb


spotblock-git 15.18e2610-2


A minimal spotify ad blocker

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

Commit:


Hash: fc42f8e22073d1ef0d054c007efd212ea1d9d648

Message: Change pkgver to fit debians version requirement

Diff


diff --git a/.SRCINFO b/.SRCINFO
index a455ed7..92c960a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb-makepkg
 
 pkgbase = spotblock-git
 	pkgdesc = A minimal spotify ad blocker
-	pkgver = 0r15.18e2610
-	pkgrel = 1
+	pkgver = 15.18e2610
+	pkgrel = 2
 	url = https://github.com/mahkoh/spotblock
 	arch = x86_64
 	license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 8fe8869..e650cf1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: Guillaume Fournier-Mayer <giom@mailbox.org>
 
 pkgname=spotblock-git
-pkgver=0r15.18e2610
-pkgrel=1
+pkgver=15.18e2610
+pkgrel=2
 pkgdesc='A minimal spotify ad blocker'
 arch=('x86_64')
 url='https://github.com/mahkoh/spotblock'
@@ -14,7 +14,7 @@ md5sums=('SKIP')
 
 pkgver() {
     cd "$pkgname"
-    printf "0r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }
 
 build() {