diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 18 insertions, 16 deletions
@@ -1,26 +1,28 @@ -# Maintainer: Robert Greener <me@r0bert.dev> -# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> -_cranname=gld -_cranver=2.6.5 -_updatedate=2022-06-30 -pkgname=r-${_cranname,,} -pkgver=${_cranver//[:-]/.} +_pkgname=gld +_pkgver=2.6.5 +pkgname=r-${_pkgname,,} +pkgver=2.6.5 pkgrel=1 -pkgdesc="Estimation and Use of the Generalised (Tukey) Lambda Distribution" -arch=(i686 x86_64) -url="https://cran.r-project.org/package=${_cranname}" -license=(GPL) -depends=(r r-e1071 r-lmom) -source=("https://cran.microsoft.com/snapshot/${_updatedate}/src/contrib/${_cranname}_${_cranver}.tar.gz") +pkgdesc='Estimation and Use of the Generalised (Tukey) Lambda Distribution' +arch=('x86_64') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-e1071 + r-lmom +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") sha256sums=('8294f7c033147aa9b559b152ec9d46d380234527d1ab03adbe46b80d5da68ee9') build() { - R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}" + R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" } package() { install -dm0755 "${pkgdir}/usr/lib/R/library" - - cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" } +# vim:set ts=2 sw=2 et: |