summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD20
2 files changed, 23 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a2a5c8830a6..e8fb0749479 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,26 @@
pkgbase = r-rvest
pkgdesc = Easily Harvest (Scrape) Web Pages
- pkgver = 0.3.2
+ pkgver = 1.0.0
pkgrel = 1
url = https://cran.r-project.org/package=rvest
arch = any
license = GPL3
- depends = r
- depends = r-xml2
+ depends = r>=3.2
+ depends = r-xml2>=1.3
+ depends = r-lifecycle
depends = r-httr>=0.5
depends = r-selectr
depends = r-magrittr
- optdepends = r-testthat
+ depends = r-rlang>=0.4.10
+ depends = r-tibble
+ optdepends = r-testthat>=3.0.2
optdepends = r-knitr
- optdepends = r-png
- optdepends = r-stringi
+ optdepends = r-stringi>=0.3.1
optdepends = r-rmarkdown
- optdepends = r-covr
- source = https://cran.r-project.org/src/contrib/rvest_0.3.2.tar.gz
- md5sums = 78c88740850e375fc5da50d37734d1b2
+ optdepends = r-repurrrsive
+ optdepends = r-spelling
+ optdepends = r-covrr-webfakes
+ source = https://cran.r-project.org/src/contrib/rvest_1.0.0.tar.gz
pkgname = r-rvest
diff --git a/PKGBUILD b/PKGBUILD
index 4680ef9bbc9..cd80fc15627 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
-# Maintainer: Alex Branham <branham@utexas.edu>
+# Maintainer: Pranav K Anupam <pranavanupam@yahoo.com>
+# Contributor: Alex Branham <branham@utexas.edu>
_cranname=rvest
-_cranver=0.3.2
+_cranver=1.0.0
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-rvest
pkgver=${_cranver//[:-]/.}
@@ -9,18 +10,19 @@ pkgdesc="Easily Harvest (Scrape) Web Pages"
arch=('any')
url="https://cran.r-project.org/package=${_cranname}"
license=('GPL3')
-depends=('r' 'r-xml2' 'r-httr>=0.5' 'r-selectr' 'r-magrittr')
+depends=('r>=3.2' 'r-xml2>=1.3' 'r-lifecycle' 'r-httr>=0.5' 'r-selectr' 'r-magrittr' 'r-rlang>=0.4.10' 'r-tibble' )
-optdepends=('r-testthat' 'r-knitr' 'r-png' 'r-stringi' 'r-rmarkdown' 'r-covr')
+optdepends=('r-testthat>=3.0.2' 'r-knitr' 'r-stringi>=0.3.1' 'r-rmarkdown' 'r-repurrrsive' 'r-spelling' 'r-covr''r-webfakes')
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('78c88740850e375fc5da50d37734d1b2')
+sha256sum=('a358bf258a91b3362b3736fb5f957c12e98cddf21b6066fb2abdd26ecd665713')
build(){
- R CMD INSTALL ${_pkgtar} -l $srcdir
+cd "${srcdir}"
+R CMD INSTALL ${_pkgtar} -l ${srcdir}
}
package() {
- install -d "$pkgdir/usr/lib/R/library"
- cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+cd "${scrdir}"
+install -dm0755 "$pkgdir/usr/lib/R/library"
+cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}
-