makedeb


bspwm-git 11560df32022.02.15-2


A tiling window manager based on binary space partitioning

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

Commit:


Hash: 13d761c95283117e45a38cbfca7bef51b8a07fe0

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 0b8e2ee..b606f9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,28 +1,34 @@
-generated-by = makedeb-makepkg
-
-pkgbase = bspwm-git
-	pkgdesc = A tiling window manager based on binary space partitioning
-	pkgver = 14840.9.10.36.g1560df32022.02.15
-	pkgrel = 1
-	url = https://github.com/baskerville/bspwm
-	arch = i686
-	arch = x86_64
-	license = custom:BSD
-	makedepends = git
-	makedepends = libxcb-keysyms1-dev
-	makedepends = libxcb-util-dev
-	makedepends = libxcb-icccm4-dev
-	makedepends = libxcb-ewmh-dev
-	depends = bash
-	depends = libxcb-util1
-	depends = libxcb-ewmh2
-	depends = libxcb-keysyms1
-	optdepends = sxhkd: to define keyboard and pointer bindings
-	optdepends = font-terminus: for the example panel
-	optdepends = python3: for some scripting examples
-	provides = bspwm
-	conflicts = bspwm
-	source = bspwm-git::git://github.com/baskerville/bspwm.git
-	md5sums = SKIP
-
+generated-by = makedeb
 pkgname = bspwm-git
+pkgbase = bspwm-git
+pkgdesc = A tiling window manager based on binary space partitioning
+pkgrel = 2
+pkgver = 11560df32022.02.15
+url = https://github.com/baskerville/bspwm
+arch = i686
+arch = amd64
+conflicts = bspwm
+depends = bash
+depends = libxcb-util1
+depends = libxcb-ewmh2
+depends = libxcb-keysyms1
+license = custom:BSD
+makedepends = git
+makedepends = libxcb-keysyms1-dev
+makedepends = libxcb-util-dev
+makedepends = libxcb-icccm4-dev
+makedepends = libxcb-ewmh-dev
+optdepends = sxhkd: to define keyboard and pointer bindings
+optdepends = font-terminus: for the example panel
+optdepends = python3: for some scripting examples
+provides = bspwm
+source = bspwm-git::git+https://github.com/baskerville/bspwm.git
+md5sums = SKIP
+makedepends = git
+makedepends = libxcb-keysyms1-dev
+makedepends = libxcb-util-dev
+makedepends = libxcb-icccm4-dev
+makedepends = libxcb-ewmh-dev
+optdepends = sxhkd: to define keyboard and pointer bindings
+optdepends = font-terminus: for the example panel
+optdepends = python3: for some scripting examples
diff --git a/PKGBUILD b/PKGBUILD
index c77a051..9b15412 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 _pkgname=bspwm
 pkgname=${_pkgname}-git
-pkgver=14840.9.10.36.g1560df32022.02.15
-pkgrel=1
+pkgver=11560df32022.02.15
+pkgrel=2
 pkgdesc='A tiling window manager based on binary space partitioning'
-arch=('i686' 'x86_64')
+arch=('i686' 'amd64')
 url="https://github.com/baskerville/${_pkgname}"
 license=('custom:BSD')
 depends=('bash' 'libxcb-util1' 'libxcb-ewmh2' 'libxcb-keysyms1')
@@ -14,17 +14,17 @@ optdepends=('sxhkd: to define keyboard and pointer bindings'
 	    #'sutils-git: for the example panel'
 	    'font-terminus: for the example panel'
 	    'python3: for some scripting examples')
-source=("${pkgname}::git://github.com/baskerville/${_pkgname}.git")
+source=("${pkgname}::git+https://github.com/baskerville/${_pkgname}.git")
 md5sums=('SKIP')
 provides=("bspwm")
 conflicts=("bspwm")
 
 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'
 }