[arch-commits] Commit in nlopt/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Dec 5 12:28:37 UTC 2021
Date: Sunday, December 5, 2021 @ 12:28:37
Author: archange
Revision: 1065142
upgpkg: nlopt 2.7.1-1
Modified:
nlopt/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-05 12:24:11 UTC (rev 1065141)
+++ PKGBUILD 2021-12-05 12:28:37 UTC (rev 1065142)
@@ -1,8 +1,8 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=nlopt
-pkgver=2.7.0
-pkgrel=4
+pkgver=2.7.1
+pkgrel=1
pkgdesc="Nonlinear optimization library"
arch=(x86_64)
url="https://nlopt.readthedocs.io/en/latest/"
@@ -10,21 +10,21 @@
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")
-sha256sums=('b881cc2a5face5139f1c5a30caf26b7d3cb43d69d5e423c9d78392f99844499f')
+source=(https://github.com/stevengj/nlopt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('db88232fa5cef0ff6e39943fc63ab6074208831dc0031cf1545f6ecd31ae2a1a')
build() {
- cmake -B build -S ${pkgname}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib
- make -C build
+ cmake -B build -S ${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
}
check() {
- cd build
- ctest --output-on-failure
+ cd build
+ ctest --output-on-failure
}
package() {
- make -C build DESTDIR="${pkgdir}" install
+ make -C build DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list