Merge pull request #56 from sukanka/master

Fix frf2 and optimze openmx
This commit is contained in:
Kuoi 2022-05-28 15:49:37 +01:00 committed by GitHub
commit b766a0fd1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,5 @@ build() {
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:

View file

@ -46,6 +46,8 @@ source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('65c50ce09f9c006b41b7311ec05eba3ae77926d84fb44e3905905208404826ed')
build() {
# restrict the usage of cpu. Usage of RAM is OK.
export MAKE="make -j5"
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}