From a3fecbc730f10edd92045944e70862aa0cfcf257 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sat, 29 Oct 2016 08:01:36 +0200 Subject: [PATCH] fix(aur): Update GIT_TAG when building git package --- contrib/lemonbuddy-git.aur/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/lemonbuddy-git.aur/PKGBUILD b/contrib/lemonbuddy-git.aur/PKGBUILD index d8cc9330..f936ca5f 100644 --- a/contrib/lemonbuddy-git.aur/PKGBUILD +++ b/contrib/lemonbuddy-git.aur/PKGBUILD @@ -31,7 +31,9 @@ prepare() { } build() { - cd "${_pkgname}/build" || exit + cd "${_pkgname}" || exit + [ -x version.sh ] && ./version.sh >/dev/null + cd build || exit cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. make }