diff options
author | Pekka Ristola | 2024-02-12 19:44:21 +0200 |
---|---|---|
committer | Pekka Ristola | 2024-02-12 19:44:21 +0200 |
commit | d732d765fd51632c26b77707d8d8158ca9bfd18c (patch) | |
tree | 46299a5de939a85605bf7d5529b5ef10abe25357 | |
download | aur-r-pcict.tar.gz |
Version 0.5.4.4
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7a88cca257e4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = r-pcict + pkgdesc = Implementation of POSIXct Work-Alike for 365 and 360 Day Calendars + pkgver = 0.5.4.4 + pkgrel = 1 + url = https://cran.r-project.org/package=PCICt + arch = x86_64 + license = GPL-2.0-only + depends = r + optdepends = r-runit + source = https://cran.r-project.org/src/contrib/PCICt_0.5-4.4.tar.gz + md5sums = 7397539d6d582bde58d98cd050a2c159 + b2sums = 81213ed6d5cc043174f123f5282caa79a0971fe2ec3bb72c1eab72ad8070e74bedf6fc3291522ee6d951b9cb871140f78eaa6460dadc9e3e90b36ec8090f800b + +pkgname = r-pcict diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f7dd66f833ed --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> + +_pkgname=PCICt +_pkgver=0.5-4.4 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//-/.} +pkgrel=1 +pkgdesc="Implementation of POSIXct Work-Alike for 365 and 360 Day Calendars" +arch=(x86_64) +url="https://cran.r-project.org/package=$_pkgname" +license=('GPL-2.0-only') +depends=( + r +) +optdepends=( + r-runit +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +md5sums=('7397539d6d582bde58d98cd050a2c159') +b2sums=('81213ed6d5cc043174f123f5282caa79a0971fe2ec3bb72c1eab72ad8070e74bedf6fc3291522ee6d951b9cb871140f78eaa6460dadc9e3e90b36ec8090f800b') + +build() { + mkdir build + R CMD INSTALL -l build "$_pkgname" +} + +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library" +} |