diff options
author | Taekyung Kim | 2019-07-12 06:02:57 +0900 |
---|---|---|
committer | Taekyung Kim | 2019-07-12 06:02:57 +0900 |
commit | bfe3b7fe030d62f033b794f9149ce119f230c5a1 (patch) | |
tree | 3379199dd3bce517c98ae787274373109aba900d | |
download | aur-bfe3b7fe030d62f033b794f9149ce119f230c5a1.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e8335ec35ced --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = r-minqa + pkgdesc = Derivative-free optimization algorithms by quadratic approximation + pkgver = 1.2.4 + pkgrel = 1 + url = https://cran.r-project.org/package=minqa + arch = any + license = GPL2 + makedepends = make + makedepends = gcc-fortran + depends = r + depends = r-rcpp + source = https://cran.r-project.org/src/contrib/minqa_1.2.4.tar.gz + md5sums = bcaae4fdba60a33528f2116e2fd51105 + +pkgname = r-minqa + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b7edba7f2eee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Taekyung Kim <Taekyung.Kim.Maths@gmail.com> + +_cranname=minqa +_cranver=1.2.4 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-minqa +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="Derivative-free optimization algorithms by quadratic approximation" +arch=('any') +url="https://cran.r-project.org/package=${_cranname}" +license=('GPL2') +depends=('r' 'r-rcpp') +makedepends=('make' 'gcc-fortran') +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('bcaae4fdba60a33528f2116e2fd51105') + +build(){ + R CMD INSTALL "${_pkgtar}" -l "$srcdir" +} +package() { + install -dm0755 "$pkgdir"/usr/lib/R/library + cp -a --no-preserve=ownership "$_cranname" "$pkgdir"/usr/lib/R/library +} + + |