aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"