Spaces on version

This commit is contained in:
Cristian Porras 2016-11-28 22:30:42 -03:00
parent 694979b998
commit 99f49e7c4a

View file

@ -3,7 +3,7 @@
_pkgname=godot _pkgname=godot
pkgname=${_pkgname}-git pkgname=${_pkgname}-git
pkgver=2.1.r3700.564ba76 pkgver=2.2.r5989.ab637bc
pkgrel=1 pkgrel=1
pkgdesc="Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine." pkgdesc="Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine."
url="http://www.godotengine.org" url="http://www.godotengine.org"
@ -35,8 +35,8 @@ sha256sums=(
pkgver() { pkgver() {
cd "${srcdir}/${_pkgname}" cd "${srcdir}/${_pkgname}"
_major=$(cat version.py|grep "major" | sed 's/major=//') _major=$(cat version.py|grep "major" | sed 's/major = //')
_minor=$(cat version.py|grep "minor" | sed 's/minor=//') _minor=$(cat version.py|grep "minor" | sed 's/minor = //')
_revision=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)") _revision=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
echo "${_major}.${_minor}.${_revision}" echo "${_major}.${_minor}.${_revision}"