aboutsummaryrefslogtreecommitdiffstats
path: root/main/cmake
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-14 13:44:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-14 13:44:03 +0000
commit93c399044ddec1abfb7d0165b9e02080b0501ebf (patch)
treed9a6a8de0b3b8d756d1d904e5c1f30c934bd8417 /main/cmake
parent3667edf617f4e621270f6350c768f637f7690953 (diff)
downloadaports-93c399044ddec1abfb7d0165b9e02080b0501ebf.tar.bz2
aports-93c399044ddec1abfb7d0165b9e02080b0501ebf.tar.xz
main/cmake: upgrade to 2.8.10.1
Diffstat (limited to 'main/cmake')
-rw-r--r--main/cmake/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD
index 69fa13dd1e..010c108abe 100644
--- a/main/cmake/APKBUILD
+++ b/main/cmake/APKBUILD
@@ -1,14 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cmake
-pkgver=2.8.9
-pkgrel=1
+pkgver=2.8.10.1
+pkgrel=0
pkgdesc="CMake is a cross-platform open-source make system"
url="http://www.cmake.org"
arch="all"
license="CMake"
depends=
makedepends="ncurses-dev"
-source="http://www.$pkgname.org/files/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
+
+case $pkgver in
+*.*.*.*) _v=v${pkgver%.*.*};;
+*.*.*) _v=v${pkgver%.*};;
+esac
+
+source="http://www.cmake.org/files/$_v/cmake-${pkgver}.tar.gz"
subpackages="$pkgname-doc"
@@ -43,4 +49,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-md5sums="801f4c87f8b604f727df5bf1f05a59e7 cmake-2.8.9.tar.gz"
+md5sums="aabf16d8e957f99921a0095885381373 cmake-2.8.10.1.tar.gz"