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: 6b35ca5cd34e377d6a90c6d417640eba4328aa6f

Message: minor fix

Diff


diff --git a/PKGBUILD b/PKGBUILD
index 9b945a6..73d4602 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 _pkgname=bsptab
-pkgname=$_pkgname-git
+pkgname=${_pkgname}-git
 pkgver=460.2.11.ge997b892022.02.17
 pkgrel=1
 pkgdesc='Suckless tabbed integration into bspwm'
@@ -11,11 +11,11 @@ depends=('bspwm' 'tabbed' 'bash' 'awk' 'xdotool')
 makedepends=('git')
 provides=('bsptab')
 conflicts=('bsptab')
-source=("$_pkgname::git+${url}.git")
+source=("${_pkgname}::git+${url}.git")
 md5sums=('SKIP')
 
 pkgver() {
-  cd $_pkgname
+  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
     _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)
@@ -23,7 +23,7 @@ pkgver() {
 }
 
 package() {
-  cd $_pkgname
-  make PREFIX=/usr DESTDIR="$pkgdir" install
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+  cd ${_pkgname}
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
 }