makedeb


tdrop-git 1d4a7ec82022.04.23-1


A WM-Independent dropdown window and terminal creator

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

Commit:


Hash: 42a83a904ca5831de86dd629e7a833f5cca3935a

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 8894c01..979c434 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,26 @@
-generated-by = makedeb-makepkg
-
-pkgbase = tdrop-git
-	pkgdesc = A WM-Independent dropdown window and terminal creator
-	pkgver = 2360.4.0.6.gca08ab92022.01.28
-	pkgrel = 1
-	url = https://github.com/noctuid/tdrop
-	arch = any
-	license = Simplified BSD
-	makedepends = git
-	depends = bash
-	depends = xdotool
-	depends = xorg
-	optdepends = tmux: session starting support
-	optdepends = tmuxinator: session starting support
-	optdepends = sxhkd: for a tdrop keybinding
-	optdepends = xorg-xrandr: multiple monitor resizing support
-	provides = tdrop
-	conflicts = tdrop
-	source = git://github.com/noctuid/tdrop.git
-	md5sums = SKIP
-
+generated-by = makedeb
 pkgname = tdrop-git
+pkgbase = tdrop-git
+pkgdesc = A WM-Independent dropdown window and terminal creator
+pkgrel = 1
+pkgver = 1d4a7ec82022.04.23
+url = https://github.com/noctuid/tdrop
+arch = any
+conflicts = tdrop
+depends = bash
+depends = xdotool
+depends = xorg
+license = Simplified BSD
+makedepends = git
+optdepends = tmux: session starting support
+optdepends = tmuxinator: session starting support
+optdepends = sxhkd: for a tdrop keybinding
+optdepends = xorg-xrandr: multiple monitor resizing support
+provides = tdrop
+source = tdrop::git+https://github.com/noctuid/tdrop.git
+md5sums = SKIP
+makedepends = git
+optdepends = tmux: session starting support
+optdepends = tmuxinator: session starting support
+optdepends = sxhkd: for a tdrop keybinding
+optdepends = xorg-xrandr: multiple monitor resizing support
diff --git a/PKGBUILD b/PKGBUILD
index 8be9de2..9fe4293 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 _pkgname=tdrop
 pkgname=tdrop-git
-pkgver=2360.4.0.6.gca08ab92022.01.28
+pkgver=1d4a7ec82022.04.23
 pkgrel=1
 pkgdesc="A WM-Independent dropdown window and terminal creator"
 arch=('any')
@@ -16,14 +16,14 @@ makedepends=('git')
 provides=("${_pkgname}")
 conflicts=("${_pkgname}")
 md5sums=('SKIP')
-source=("git://github.com/noctuid/${_pkgname}.git")
+source=("${_pkgname}::git+https://github.com/noctuid/${_pkgname}.git")
 
 pkgver() {
   cd "$srcdir/$_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() {