Date: Saturday, December 19, 2020 @ 22:20:03 Author: archange Revision: 780038
archrelease: copy trunk to community-x86_64 Added: nlopt/repos/community-x86_64/PKGBUILD (from rev 780037, nlopt/trunk/PKGBUILD) Deleted: nlopt/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-19 22:19:58 UTC (rev 780037) +++ PKGBUILD 2020-12-19 22:20:03 UTC (rev 780038) @@ -1,30 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -pkgname=nlopt -pkgver=2.6.2 -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=('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 -} Copied: nlopt/repos/community-x86_64/PKGBUILD (from rev 780037, nlopt/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-19 22:20:03 UTC (rev 780038) @@ -0,0 +1,30 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +pkgname=nlopt +pkgver=2.7.0 +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=('b881cc2a5face5139f1c5a30caf26b7d3cb43d69d5e423c9d78392f99844499f') + +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 +}