From 066ee35fc3b43d632a32ba9ba2e9de102c80d4eb Mon Sep 17 00:00:00 2001
From: Patrick Ziegler
Date: Mon, 4 Dec 2017 00:25:08 +0100
Subject: [PATCH] fix(AUR): Remove failing call to version.sh (#877)
version.sh is supposed to set the GIT_TAG macro in version.hpp to the
output of 'git describe ...', however it uses relative paths and can't
find 'include/version.hpp'
'include/CMakeLists.txt' already has the same functionality so this is
not needed
---
contrib/polybar-git.aur/PKGBUILD | 3 ---
1 file changed, 3 deletions(-)
diff --git a/contrib/polybar-git.aur/PKGBUILD b/contrib/polybar-git.aur/PKGBUILD
index 1d1cabdc..161834a7 100644
--- a/contrib/polybar-git.aur/PKGBUILD
+++ b/contrib/polybar-git.aur/PKGBUILD
@@ -35,9 +35,6 @@ prepare() {
build() {
cd "${_pkgname}/build" || exit 1
- if [ -x ../common/version.sh ]; then
- ../common/version.sh
- fi
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
cmake --build .
}