updated cmake-git pkg

This commit is contained in:
martell
2014-01-18 19:03:37 +00:00
parent d7721ddd42
commit c8296b88ae

View File

@@ -3,13 +3,16 @@
_realname=cmake
_mingw_suff=mingw-w64-${CARCH}
pkgname="${_mingw_suff}-${_realname}-git"
pkgver=3.0
_ver_base=2.8.12.2014
pkgver=2.8.12.2014.28987.d2be157
pkgrel=1
pkgdesc="A cross-platform open-source make system (mingw-w64)."
arch=('any')
url="http://www.cmake.org/"
license=("MIT")
makedepends=("${_mingw_suff}-gcc" "${_mingw_suff}-pkg-config")
provides=("${_mingw_suff}-${_realname}")
conflicts=("${_mingw_suff}-${_realname}")
depends=("${_mingw_suff}-winpthreads"
"${_mingw_suff}-curl"
"${_mingw_suff}-expat"
@@ -21,9 +24,9 @@ options=('staticlibs' 'strip')
source=("${_realname}"::"git+http://cmake.org/cmake.git#branch=next")
md5sums=('SKIP')
prepare() {
cd "$srcdir/$_realname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
pkgver() {
cd "$srcdir/$_realname"
printf "%s.%s.%s" "$_ver_base" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {