summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6bc43e528bb0158452f8e66ff67a86985c0e2e0f (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=lisrelToR
_pkgver=0.3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Import Output from LISREL into R"
arch=(any)
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=('23515b702dfcfbf8e2b1284f2d908cda')
b2sums=('a71f03f3500c4aa08301d36b05badfd3dd58dfa7242977628b4a3e42ec0c6c87c29963b7a52f7d48eca9c3472b67e01b5c624376aaab05a11763d151fad9c94f')

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"
}