makedeb


bsptab-git 1e997b892022.02.17-2


Suckless tabbed integration into bspwm

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

Commit:


Hash: 0f11f148bb34d29fe36baab6bcd13dd28bb997ed

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 1d1e577..e0776d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,20 @@
-generated-by = makedeb-makepkg
-
-pkgbase = bsptab-git
-	pkgdesc = Suckless tabbed integration into bspwm
-	pkgver = 460.2.11.ge997b892022.02.17
-	pkgrel = 1
-	url = https://github.com/albertored11/bsptab
-	arch = any
-	license = MIT
-	makedepends = git
-	depends = bspwm
-	depends = tabbed
-	depends = bash
-	depends = awk
-	depends = xdotool
-	provides = bsptab
-	conflicts = bsptab
-	source = bsptab::git+https://github.com/albertored11/bsptab.git
-	md5sums = SKIP
-
+generated-by = makedeb
 pkgname = bsptab-git
+pkgbase = bsptab-git
+pkgdesc = Suckless tabbed integration into bspwm
+pkgrel = 1
+pkgver = 1e997b892022.02.17
+url = https://github.com/albertored11/bsptab
+arch = any
+conflicts = bsptab
+depends = bspwm
+depends = tabbed
+depends = bash
+depends = awk
+depends = xdotool
+license = MIT
+makedepends = git
+provides = bsptab
+source = bsptab::git+https://github.com/albertored11/bsptab.git
+md5sums = SKIP
+makedepends = git
diff --git a/PKGBUILD b/PKGBUILD
index 73d4602..176c26c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 _pkgname=bsptab
 pkgname=${_pkgname}-git
-pkgver=460.2.11.ge997b892022.02.17
+pkgver=1e997b892022.02.17
 pkgrel=1
 pkgdesc='Suckless tabbed integration into bspwm'
 arch=('any')
@@ -16,10 +16,10 @@ md5sums=('SKIP')
 
 pkgver() {
   cd ${_pkgname}
-    _tag=$(git describe --tags | sed -e 's:-:.:g') # tag is mobile, and switches between numbers and letters, can't use it for versioning
+    _always=$(git describe --always | sed -e 's:-:.:g') # tag is mobile, and switches between numbers and letters, can't use it for versioning
     _commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
     _date=$(git log -1 --date=short --pretty=format:%cd)
-    printf "%s%s%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
+    printf "%s%s%s\n" "${_commits}" "${_always}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
 package() {