Skip to content

Instantly share code, notes, and snippets.

@pzl
Created September 12, 2015 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pzl/b416ac5ef6b8feb5adb3 to your computer and use it in GitHub Desktop.
Save pzl/b416ac5ef6b8feb5adb3 to your computer and use it in GitHub Desktop.
lemonbar-git pkgbuild patch
diff --git a/PKGBUILD b/PKGBUILD
index 47979fb..2a147ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=("$_pkgname::git+https://github.com/Lemonboy/bar.git")
sha256sums=('SKIP')
pkgver() {
- cd "${pkgname}"
+ cd "$_pkgname"
if git_version=$( git describe --long --tags 2>/dev/null ); then
IFS='-' read last_tag tag_rev commit <<< "$git_version"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment