diff options
author | BioArchLinuxBot | 2023-12-28 18:02:35 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-12-28 18:02:35 +0000 |
commit | d9c0e0f9d2f5fd40672efc496fdaacddc1430a3e (patch) | |
tree | f8c0add150f5aa89d65030bfa226ef681769de0e /PKGBUILD | |
parent | 4f5167e6fbdc27b2e89f340a80ffb4ea72d7bb64 (diff) | |
download | aur-d9c0e0f9d2f5fd40672efc496fdaacddc1430a3e.tar.gz |
[lilac] updated to 8.3.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 17 insertions, 12 deletions
@@ -3,14 +3,16 @@ _pkgname=Delaporte _pkgver=8.3.0 pkgname=r-${_pkgname,,} -pkgver=8.3.0 -pkgrel=1 -pkgdesc='Statistical Functions for the Delaporte Distribution' -arch=('x86_64') -url="https://cran.r-project.org/package=${_pkgname}" -license=('BSD') +pkgver=${_pkgver//-/.} +pkgrel=2 +pkgdesc="Statistical Functions for the Delaporte Distribution" +arch=(x86_64) +url="https://cran.r-project.org/package=$_pkgname" +license=(BSD) depends=( r +) +makedepends=( gcc-fortran ) optdepends=( @@ -18,15 +20,18 @@ optdepends=( r-tinytest ) source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") -sha256sums=('7eeb59c2d7fb106732abbda710acab065418426aa1f6f5734f0dc2b1724f89bc') +md5sums=('cc965f62f3d69e9c785e98890c9536db') +b2sums=('403e1862a517e5fc0d39b2066a54298cf4be5e63f9c6529f5ec3acb234930cecfe0e14376f32bb8d30a7f70eb540456a83659c06ae906365c2f20a72ccf2d9d4') build() { - R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" + mkdir build + R CMD INSTALL -l build "$_pkgname" } 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}" + install -d "$pkgdir/usr/lib/R/library" + cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library" + + install -d "$pkgdir/usr/share/licenses/$pkgname" + ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname" } -# vim:set ts=2 sw=2 et: |