summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2020-12-10 10:44:55 +0100
committerMichel Zou2020-12-10 10:44:55 +0100
commit46ecc05a5b5fd201e1b0af88d4cfbf9cef8c64db (patch)
treeebcf138aeb69068ddcd1babc6730b211201f60a6
parentbbde126cffd007ee0ffae1daef7a142bea7caa2b (diff)
downloadaur-46ecc05a5b5fd201e1b0af88d4cfbf9cef8c64db.tar.gz
1.3.7
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03e0283015f6..01a7b1808ddf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-cminpack
pkgdesc = A C/C++ rewrite of the MINPACK software (mingw-w64)
- pkgver = 1.3.6
+ pkgver = 1.3.7
pkgrel = 1
url = http://devernay.free.fr/hacks/cminpack/cminpack.html
arch = any
@@ -11,8 +11,8 @@ pkgbase = mingw-w64-cminpack
options = !buildflags
options = staticlibs
options = !strip
- source = http://devernay.free.fr/hacks/cminpack/cminpack-1.3.6.tar.gz
- sha256sums = 3c07fd21308c96477a2c900032e21d937739c233ee273b4347a0d4a84a32d09f
+ source = https://github.com/devernay/cminpack/archive/v1.3.7.tar.gz
+ sha256sums = b891f33ffcfb8b246bb6147a4da6308cdb2386ca42a99892ff9b2e884f8b0386
pkgname = mingw-w64-cminpack
diff --git a/PKGBUILD b/PKGBUILD
index 1189b920a612..2751894c7caa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,5 @@
-
pkgname=mingw-w64-cminpack
-pkgver=1.3.6
+pkgver=1.3.7
pkgrel=1
pkgdesc="A C/C++ rewrite of the MINPACK software (mingw-w64)"
arch=('any')
@@ -9,15 +8,14 @@ license=('BSD')
depends=('mingw-w64-crt' 'mingw-w64-cblas')
makedepends=('mingw-w64-cmake')
options=('!buildflags' 'staticlibs' '!strip')
-source=("http://devernay.free.fr/hacks/cminpack/cminpack-${pkgver}.tar.gz")
-sha256sums=('3c07fd21308c96477a2c900032e21d937739c233ee273b4347a0d4a84a32d09f')
+source=("https://github.com/devernay/cminpack/archive/v${pkgver}.tar.gz")
+sha256sums=('b891f33ffcfb8b246bb6147a4da6308cdb2386ca42a99892ff9b2e884f8b0386')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
prepare () {
cd $srcdir/cminpack-${pkgver}
- # https://github.com/devernay/cminpack/issues/12
- sed -i "s|target_link_libraries(cminpack PUBLIC|target_link_libraries(cminpack PUBLIC cblas|g" CMakeLists.txt
+ curl -L https://github.com/devernay/cminpack/pull/44.patch | patch -p1
}
build() {