summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8574aa3fffa1da3f14a9dc6c13825bb73c44d6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: sukanka <su975853527@gmail.com>

_pkgname=contfrac
_pkgver=1.1-12
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=10
pkgdesc="Continued Fractions"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
  r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('8859a0eda910d18eb97683b535d2dc1d')
b2sums=('85b0c67ff26b6907b2634d1b6a1d38dbc0759b858c5152f2497a7ac43f50d603473025d19ff443a4d2be110a8f2fe8643b5dcb204f6c62873ff46198c10d908d')

build() {
  mkdir build
  R CMD INSTALL -l build "$_pkgname"
}

package() {
  install -d "$pkgdir/usr/lib/R/library"
  cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}