diff options
author | Viktor Drobot | 2020-09-07 21:23:12 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-09-07 21:23:12 +0300 |
commit | 45d196b816bc8652130f0f157c1834935eb4199d (patch) | |
tree | b9944584e3c24ab246ee9e94d8c877f69798ee96 | |
download | aur-45d196b816bc8652130f0f157c1834935eb4199d.tar.gz |
First release
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1551f300e0a7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = r-gld + pkgdesc = Estimation and Use of the Generalised (Tukey) Lambda Distribution + pkgver = 2.6.2 + pkgrel = 1 + url = https://cran.r-project.org/package=gld + arch = i686 + arch = x86_64 + license = GPL2 + license = GPL3 + depends = r + depends = r-e1071 + depends = r-lmom + source = https://cran.r-project.org/src/contrib/gld_2.6.2.tar.gz + sha256sums = 915860ac054ba4d29854c7d274e9c927995c5df2a7d4a6a0122b1fbc4a3c3cf3 + +pkgname = r-gld + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f70c1471d1b6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com + +_cranname=gld +_cranver=2.6.2 +pkgname=r-${_cranname,,} +pkgver=${_cranver//[:-]/.} +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=(GPL2 GPL3) +depends=(r r-e1071 r-lmom) +source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") +sha256sums=('915860ac054ba4d29854c7d274e9c927995c5df2a7d4a6a0122b1fbc4a3c3cf3') + +build() { + R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}" +} + +package() { + install -dm0755 "${pkgdir}/usr/lib/R/library" + + cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library" +} |