[arch-commits] Commit in nlopt/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Dec 5 12:29:01 UTC 2021
Date: Sunday, December 5, 2021 @ 12:29:00
Author: archange
Revision: 1065143
archrelease: copy trunk to community-staging-x86_64
Added:
nlopt/repos/community-staging-x86_64/PKGBUILD
(from rev 1065142, nlopt/trunk/PKGBUILD)
Deleted:
nlopt/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-05 12:28:37 UTC (rev 1065142)
+++ PKGBUILD 2021-12-05 12:29:00 UTC (rev 1065143)
@@ -1,30 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=nlopt
-pkgver=2.7.0
-pkgrel=4
-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
-}
Copied: nlopt/repos/community-staging-x86_64/PKGBUILD (from rev 1065142, nlopt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-05 12:29:00 UTC (rev 1065143)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=nlopt
+pkgver=2.7.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=('db88232fa5cef0ff6e39943fc63ab6074208831dc0031cf1545f6ecd31ae2a1a')
+
+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