makedeb


sxhkd-git 1870.6.22020.08.02-2


A simple X hotkey daemon

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

Commit:


Hash: 73d816e77f80999754ebb6e5add7489819b30dcd

Message: minor fix

Diff


diff --git a/PKGBUILD b/PKGBUILD
index b563934..d6330e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ source=("git+https://github.com/baskerville/${_pkgname}.git")
 md5sums=('SKIP')
 
 pkgver() {
-    cd "$srcdir/$_pkgname"
+    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
     _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,12 +23,12 @@ pkgver() {
 }
 
 build() {
-    cd "$srcdir/$_pkgname"
+    cd "${srcdir}/${_pkgname}"
     make PREFIX=/usr
 }
 
 package() {
-    cd "$srcdir/$_pkgname"
-    make PREFIX=/usr DESTDIR="$pkgdir" install
+    cd "${srcdir}/${_pkgname}"
+    make PREFIX=/usr DESTDIR="${pkgdir}" install
     install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }