diff options
author | Sukanka | 2022-06-06 10:16:22 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 10:16:22 +0800 |
commit | 95ba90401926e0b2baee51469a115b7c5ce716cb (patch) | |
tree | 29a7fe98ea8734401f47c4439c6081a4e6e81bf2 | |
download | aur-95ba90401926e0b2baee51469a115b7c5ce716cb.tar.gz |
add r-gamlss
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fa57ee29284c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = r-gamlss + pkgdesc = Generalised Additive Models for Location Scale and Shape + pkgver = 5.4.3 + pkgrel = 1 + url = https://cran.r-project.org/package=gamlss + arch = x86_64 + license = GPL + depends = r + depends = r-gamlss.data + depends = r-gamlss.dist + source = https://cran.r-project.org/src/contrib/gamlss_5.4-3.tar.gz + sha256sums = 6619d4fdc183ab492615d44961a126c827d18db20a0d59362e54de877f0a3076 + +pkgname = r-gamlss diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..be95451fc8d3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=gamlss +_pkgver=5.4-3 +pkgname=r-${_pkgname,,} +pkgver=5.4.3 +pkgrel=1 +pkgdesc='Generalised Additive Models for Location Scale and Shape' +arch=('x86_64') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-gamlss.data + r-gamlss.dist +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('6619d4fdc183ab492615d44961a126c827d18db20a0d59362e54de877f0a3076') + +build() { + R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" +} + +package() { + install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" +} +# vim:set ts=2 sw=2 et: |