diff options
author | sukanka | 2022-07-22 00:19:00 +0800 |
---|---|---|
committer | sukanka | 2022-07-22 00:19:00 +0800 |
commit | 8a199bd7d07f461833bdd27592e95aa795f64de2 (patch) | |
tree | a9ad48b9b5da639f5d19a34e178660c7d9045c03 | |
parent | 2263a0157467aa48e8d584594aeced972d2b35b3 (diff) | |
download | aur-8a199bd7d07f461833bdd27592e95aa795f64de2.tar.gz |
add package
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 18 insertions, 16 deletions
@@ -4,8 +4,7 @@ pkgbase = r-sciplot pkgrel = 1 url = https://cran.r-project.org/package=sciplot arch = any - license = GPL2 - license = GPL3 + license = GPL depends = r source = https://cran.r-project.org/src/contrib/sciplot_1.2-0.tar.gz sha256sums = 738fa4ddc1c1d20f5467376d9278f6461a405617904b871a378e94ade563ff24 @@ -1,24 +1,27 @@ -# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com +# Maintainer: sukanka <su975853527@gmail.com> +# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com -_cranname=sciplot -_cranver=1.2-0 -pkgname=r-${_cranname,,} -pkgver=${_cranver//[:-]/.} +_pkgname=sciplot +_pkgver=1.2-0 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//[:-]/.} pkgrel=1 -pkgdesc="Scientific Graphing Functions for Factorial Designs" -arch=(any) -url="https://cran.r-project.org/package=${_cranname}" -license=(GPL2 GPL3) -depends=(r) -source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") +pkgdesc='Scientific Graphing Functions for Factorial Designs' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") sha256sums=('738fa4ddc1c1d20f5467376d9278f6461a405617904b871a378e94ade563ff24') 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: |