summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsukanka2022-07-21 22:48:30 +0800
committersukanka2022-07-21 22:48:30 +0800
commit33e87453316ed1f63dcbd8e8ca8618192b49a939 (patch)
tree0a81c5657647ec0999ae7dac5076f003a3199f59
parent9f6227d878f87f3e838665bca9e6d3716c771046 (diff)
downloadaur-33e87453316ed1f63dcbd8e8ca8618192b49a939.tar.gz
takeover package
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD39
2 files changed, 25 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4637a74bea4..f82ad26c8f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
pkgbase = r-digest
pkgdesc = Create Compact Hash Digests of R Objects
pkgver = 0.6.29
- pkgrel = 1
+ pkgrel = 5
url = https://cran.r-project.org/package=digest
- arch = i686
arch = x86_64
- license = GPL2
- license = GPL3
- depends = r>=3.3.0
- optdepends = r-tinytest
+ license = GPL
+ depends = r
optdepends = r-simplermarkdown
+ optdepends = r-tinytest
source = https://cran.r-project.org/src/contrib/digest_0.6.29.tar.gz
sha256sums = 792c1f14a4c8047745152f5e45ce7351978af8d770c29d2ea39c7acd5d619cd9
diff --git a/PKGBUILD b/PKGBUILD
index b21c40f1325..56f9903109a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,30 @@
-# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
-# Contributor: frichtlm <frichtlm@gmail.com>
-# Contributor: Grey Christoforo <first name at last name dot net>
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
-_cranname=digest
-_cranver=0.6.29
-pkgname=r-${_cranname,,}
-pkgver=${_cranver//[:-]/.}
-pkgrel=1
-pkgdesc="Create Compact Hash Digests of R Objects"
-arch=(i686 x86_64)
-url="https://cran.r-project.org/package=${_cranname}"
-license=(GPL2 GPL3)
-depends=('r>=3.3.0')
-optdepends=(r-tinytest r-simplermarkdown)
-source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+_pkgname=digest
+_pkgver=0.6.29
+pkgname=r-${_pkgname,,}
+pkgver=0.6.29
+pkgrel=5
+pkgdesc='Create Compact Hash Digests of R Objects'
+arch=('x86_64')
+url="https://cran.r-project.org/package=${_pkgname}"
+license=('GPL')
+depends=(
+ r
+)
+optdepends=(
+ r-simplermarkdown
+ r-tinytest
+)
+source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('792c1f14a4c8047745152f5e45ce7351978af8d770c29d2ea39c7acd5d619cd9')
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: