fix(aur): Update GIT_TAG when building git package

This commit is contained in:
Michael Carlberg 2016-10-29 08:01:36 +02:00
parent 2768041d7c
commit a3fecbc730
1 changed files with 3 additions and 1 deletions

View File

@ -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
}