First release

This commit is contained in:
Viktor Drobot 2020-01-31 19:09:59 +03:00
commit f4e32e04e5
No known key found for this signature in database
GPG key ID: 6A4CD3276CA8EBBD
2 changed files with 49 additions and 0 deletions

19
.SRCINFO Normal file
View file

@ -0,0 +1,19 @@
pkgbase = r-desolve
pkgdesc = Solvers for Initial Value Problems of Differential Equations ('ODE', 'DAE', 'DDE')
pkgver = 1.27.1
pkgrel = 1
url = https://cran.r-project.org/package=deSolve
arch = i686
arch = x86_64
license = GPL2
license = GPL3
makedepends = gcc
depends = r>=3.3.0
depends = gcc-fortran
optdepends = r-scatterplot3d
optdepends = r-fme
source = https://cran.r-project.org/src/contrib/deSolve_1.27.1.tar.gz
md5sums = e1ec7e982ac8598b9807904fce5bf289
pkgname = r-desolve

30
PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Grey Christoforo <first name at last name dot net>
_cranname=deSolve
_cranver=1.27.1
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Solvers for Initial Value Problems of Differential Equations ('ODE', 'DAE', 'DDE')"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(GPL2 GPL3)
depends=('r>=3.3.0' gcc-fortran)
makedepends=(gcc)
optdepends=(r-scatterplot3d r-fme)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
md5sums=('e1ec7e982ac8598b9807904fce5bf289')
build() {
cd "${srcdir}"
R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
}
package() {
cd "${srcdir}"
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}