diff options
author | Pekka Ristola | 2023-09-18 18:48:40 +0300 |
---|---|---|
committer | Pekka Ristola | 2023-09-18 18:48:40 +0300 |
commit | 070488494e4d833616525e4795c8f53689f19095 (patch) | |
tree | 871fcbdd9c9f76a26c0eead9b35a3ced3099a448 | |
download | aur-070488494e4d833616525e4795c8f53689f19095.tar.gz |
Version 0.3.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1d21110befe3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = r-icsoutlier + pkgdesc = Outlier Detection Using Invariant Coordinate Selection + pkgver = 0.3.0 + pkgrel = 1 + url = https://cran.r-project.org/package=ICSOutlier + arch = any + license = GPL + depends = r-ics + depends = r-moments + depends = r-mvtnorm + optdepends = r-repplab + source = https://cran.r-project.org/src/contrib/ICSOutlier_0.3-0.tar.gz + md5sums = 57b4f80689eae3bc3125d5331418230b + sha256sums = b0ba24ae98932565f367c5960312fd9f701fa607bd5a4cde846f5ec43ff141ee + +pkgname = r-icsoutlier diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..889074e8feb3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> + +_pkgname=ICSOutlier +_pkgver=0.3-0 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//-/.} +pkgrel=1 +pkgdesc="Outlier Detection Using Invariant Coordinate Selection" +arch=(any) +url="https://cran.r-project.org/package=${_pkgname}" +license=(GPL) +depends=( + r-ics + r-moments + r-mvtnorm +) +optdepends=( + r-repplab +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +md5sums=('57b4f80689eae3bc3125d5331418230b') +sha256sums=('b0ba24ae98932565f367c5960312fd9f701fa607bd5a4cde846f5ec43ff141ee') + +build() { + mkdir -p build + R CMD INSTALL "$_pkgname" -l build +} + +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library" +} |