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

Bruno Pagani archange at archlinux.org
Sun Apr 14 22:12:41 UTC 2019


    Date: Sunday, April 14, 2019 @ 22:12:40
  Author: archange
Revision: 451664

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 36 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-14 22:12:28 UTC (rev 451663)
+++ PKGBUILD	2019-04-14 22:12:40 UTC (rev 451664)
@@ -1,43 +0,0 @@
-# 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')
-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')
-
-prepare () {
-    mkdir -p build
-    cd ${pkgname}-${pkgver}
-    patch -p1 -i ../nlopt-fix-guile.patch
-    patch -p1 -i ../nlopt-fix-octave-5.patch
-}
-
-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 451663, nlopt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-14 22:12:40 UTC (rev 451664)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=nlopt
+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")
+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
+}



More information about the arch-commits mailing list