Skip to content

Instantly share code, notes, and snippets.

@pzl pzl/PKGBUILD.patch Secret
Created Sep 12, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.