[arch-commits] Commit in nlopt/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Apr 16 01:03:50 UTC 2020
Date: Thursday, April 16, 2020 @ 01:03:48
Author: archange
Revision: 615087
upgpkg: nlopt 2.6.2-1
Modified:
nlopt/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-16 01:03:06 UTC (rev 615086)
+++ PKGBUILD 2020-04-16 01:03:48 UTC (rev 615087)
@@ -1,8 +1,8 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=nlopt
-pkgver=2.6.1
-pkgrel=2
+pkgver=2.6.2
+pkgrel=1
pkgdesc="Nonlinear optimization library"
arch=(x86_64)
url="https://nlopt.readthedocs.io/en/latest/"
@@ -11,18 +11,13 @@
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=('66d63a505187fb6f98642703bd0ef006fedcae2f9a6d1efa4f362ea919a02650')
+sha256sums=('cfa5981736dd60d0109c534984c4e13c615314d3584cf1c392a155bfe1a3b17e')
-prepare () {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../${pkgname}-${pkgver} \
+ cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ make -C build
}
check() {
@@ -31,6 +26,5 @@
}
package() {
- cd build
- make DESTDIR="${pkgdir}" install
+ make -C build DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list