aboutsummaryrefslogtreecommitdiffstats
path: root/community/lapack/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lapack/APKBUILD')
-rw-r--r--community/lapack/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/lapack/APKBUILD b/community/lapack/APKBUILD
index c247cc4772..8017680b8b 100644
--- a/community/lapack/APKBUILD
+++ b/community/lapack/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=lapack
-pkgver=3.7.1
-pkgrel=1
+pkgver=3.8.0
+pkgrel=0
pkgdesc="Linear Algebra PACKage"
url="http://www.netlib.org/lapack"
arch="all"
@@ -11,9 +11,9 @@ depends=""
makedepends="gfortran cmake"
install=""
subpackages="$pkgname-dev"
-source="http://www.netlib.org/${pkgname}/${pkgname}-${pkgver}.tgz"
-
+source="$pkgname-$pkgver.tar.gz::https://github.com/Reference-LAPACK/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
local i
cd "$builddir"
@@ -37,9 +37,14 @@ build() {
make
}
+check() {
+ cd "$builddir"/sandbox
+ make test
+}
+
package() {
cd "$builddir"/sandbox
make DESTDIR="$pkgdir" install
}
-sha512sums="b16063146626d2f67ae1456a660dbb93f42d8387cfebef1bc2681a35b5d21d53120fb74b52932373d2423cd7df39a7ae4bbfc992a71addd936bbdd051d4e2eb7 lapack-3.7.1.tgz"
+sha512sums="17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f lapack-3.8.0.tar.gz"