[arch-commits] Commit in nlopt/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Thu Apr 16 01:04:19 UTC 2020


    Date: Thursday, April 16, 2020 @ 01:04:17
  Author: archange
Revision: 615088

archrelease: copy trunk to community-x86_64

Added:
  nlopt/repos/community-x86_64/PKGBUILD
    (from rev 615087, nlopt/trunk/PKGBUILD)
Deleted:
  nlopt/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 30 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-16 01:03:48 UTC (rev 615087)
+++ PKGBUILD	2020-04-16 01:04:17 UTC (rev 615088)
@@ -1,36 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=nlopt
-pkgver=2.6.1
-pkgrel=2
-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")
-sha256sums=('66d63a505187fb6f98642703bd0ef006fedcae2f9a6d1efa4f362ea919a02650')
-
-prepare () {
-    mkdir -p build
-}
-
-build() {
-    cd build
-    cmake ../${pkgname}-${pkgver} \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=lib
-    make
-}
-
-check() {
-    cd build
-    ctest --output-on-failure
-}
-
-package() {
-    cd build
-    make DESTDIR="${pkgdir}" install
-}

Copied: nlopt/repos/community-x86_64/PKGBUILD (from rev 615087, nlopt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-16 01:04:17 UTC (rev 615088)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=nlopt
+pkgver=2.6.2
+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")
+sha256sums=('cfa5981736dd60d0109c534984c4e13c615314d3584cf1c392a155bfe1a3b17e')
+
+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
+}
+
+package() {
+    make -C build DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list