summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 45b3bbe19fa..a78e80f0337 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = r-nloptr
pkgdesc = R Interface to NLopt
- pkgver = 1.2.2
+ pkgver = 1.2.2.1
pkgrel = 1
url = https://cran.r-project.org/package=nloptr
arch = i686
@@ -8,12 +8,13 @@ pkgbase = r-nloptr
license = LGPL3
makedepends = gcc
depends = r
+ depends = nlopt>=2.4.0
optdepends = r-testthat
optdepends = r-knitr
optdepends = r-rmarkdown
optdepends = r-inline
- source = https://cran.r-project.org/src/contrib/nloptr_1.2.2.tar.gz
- md5sums = 47590eabd1beb757867b34f068950ca5
+ source = https://cran.r-project.org/src/contrib/nloptr_1.2.2.1.tar.gz
+ md5sums = 5e732439fa489f35ae1b32b1fd6a6cdd
pkgname = r-nloptr
diff --git a/PKGBUILD b/PKGBUILD
index 50f1f507cd6..77884f6c3fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Taekyung Kim <Taekyung.Kim.Maths@gmail.com>
_cranname=nloptr
-_cranver=1.2.2
+_cranver=1.2.2.1
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
@@ -10,11 +10,11 @@ pkgdesc="R Interface to NLopt"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(LGPL3)
-depends=(r)
+depends=(r 'nlopt>=2.4.0')
makedepends=(gcc)
optdepends=(r-testthat r-knitr r-rmarkdown r-inline)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-md5sums=('47590eabd1beb757867b34f068950ca5')
+md5sums=('5e732439fa489f35ae1b32b1fd6a6cdd')
build() {
cd "${srcdir}"