[arch-commits] Commit in nlopt/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sun Apr 14 22:12:29 UTC 2019
Date: Sunday, April 14, 2019 @ 22:12:28
Author: archange
Revision: 451663
upgpkg: nlopt 2.6.1-1
Modified:
nlopt/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++-----------------
1 file changed, 10 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-14 22:10:47 UTC (rev 451662)
+++ PKGBUILD 2019-04-14 22:12:28 UTC (rev 451663)
@@ -1,27 +1,20 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=nlopt
-pkgver=2.5.0
-pkgrel=4
-pkgdesc="nonlinear optimization library"
-arch=('x86_64')
-url="http://ab-initio.mit.edu/wiki/index.php/NLopt"
-license=('LGPL')
-depends=('gcc-libs')
-makedepends=('cmake' 'python-numpy' 'octave' 'guile' 'swig')
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="Nonlinear optimization library"
+arch=(x86_64)
+url="https://nlopt.readthedocs.io/en/latest/"
+license=(LGPL)
+depends=(gcc-libs)
+makedepends=(cmake python-numpy octave guile swig)
optdepends=('python-numpy: to use with python')
-source=("https://github.com/stevengj/nlopt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
- nlopt-fix-guile.patch::"https://github.com/stevengj/nlopt/commit/96ebb33c3143de3e050e040e1fd11c6ee9055471.patch"
- nlopt-fix-octave-5.patch::"https://github.com/stevengj/nlopt/commit/18cadf72cc69334091492b6137a32471e178e2ed.patch")
-sha256sums=('c6dd7a5701fff8ad5ebb45a3dc8e757e61d52658de3918e38bab233e7fd3b4ae'
- 'dd0f4ea62e92ba03e9c15b5bad15bf4202d2d7f840863acfd41baca038b20bbe'
- '84afcc709721621978915c08e0d2541c03ca504ad037db5240a821af62b6f4dc')
+source=("https://github.com/stevengj/nlopt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('66d63a505187fb6f98642703bd0ef006fedcae2f9a6d1efa4f362ea919a02650')
prepare () {
mkdir -p build
- cd ${pkgname}-${pkgver}
- patch -p1 -i ../nlopt-fix-guile.patch
- patch -p1 -i ../nlopt-fix-octave-5.patch
}
build() {
More information about the arch-commits
mailing list