~dricottone/pkgbuilds

4dbc956ef70955932fc8b360db4720a8ea61f310 — Dominic Ricottone 1 year, 26 days ago 54a9248
Added r-rvest
M Makefile => Makefile +3 -0
@@ 214,6 214,9 @@ r-rlang:
r-rstudioapi:
	cd $@ && make build

r-rvest:
	cd $@ && make build

r-scales:
	cd $@ && make build


M README.md => README.md +6 -0
@@ 244,4 244,10 @@ flowchart TD
    r-reprex --> r-markdown
    r-reprex --> r-rstudioapi
    r-reprex --> r-withr

    r-rvest --> r-httr
    r-rvest --> r-selectr
    r-rvest --> r-tibble
    r-rvest --> r-withr
    r-rvest --> r-xml2
```

M r-httr/Makefile => r-httr/Makefile +1 -0
@@ 12,4 12,5 @@ build: .SRCINFO
		-I ~/pkg/local/pkgs/r-openssl-2.1.1-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-r6-2.5.1-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-sys-3.4.2-1-x86_64.pkg.tar.zst
	@echo "Please sign package and rebuild **r-rvest**!"


A r-rvest/.SRCINFO => r-rvest/.SRCINFO +31 -0
@@ 0,0 1,31 @@
pkgbase = r-rvest
	pkgdesc = Easily Harvest (Scrape) Web Pages
	pkgver = 1.0.3
	pkgrel = 1
	url = https://cran.r-project.org/package=rvest
	arch = any
	license = MIT
	depends = r>=3.2
	depends = r-glue
	depends = r-cli
	depends = r-httr>=0.5
	depends = r-lifecycle>=1.0.0
	depends = r-magrittr
	depends = r-rlang>=1.0.0
	depends = r-selectr
	depends = r-tibble
	depends = r-xml2
	depends = r-withr
	optdepends = r-covr
	optdepends = r-knitr
	optdepends = r-readr
	optdepends = r-repurrrsive
	optdepends = r-rmarkdown
	optdepends = r-spelling
	optdepends = r-stringi
	optdepends = r-testthat
	optdepends = r-webfakes
	source = https://cran.r-project.org/src/contrib/rvest_1.0.3.tar.gz
	sha256sums = a465ef7391afaa3c26eebe8c61db02314ac04c4d8de5aa53f090716763d21c1e

pkgname = r-rvest

A r-rvest/Makefile => r-rvest/Makefile +32 -0
@@ 0,0 1,32 @@
.SRCINFO:
	makepkg --printsrcinfo > .SRCINFO

.PHONY: build
build: .SRCINFO
	arch-nspawn $$CHROOT/root pacman -Syu
	makechrootpkg -c -r $$CHROOT \
		-I ~/pkg/local/pkgs/r-askpass-1.2.0-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-cli-3.6.1-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-curl-5.1.0-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-fansi-1.0.5-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-glue-1.6.2-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-jsonlite-1.8.7-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-httr-1.4.7-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-lifecycle-1.0.4-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-magrittr-2.0.3-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-mime-0.12-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-openssl-2.1.1-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-pillar-1.9.0-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-pkgconfig-2.0.3-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-r6-2.5.1-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-rlang-1.1.2-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-selectr-0.4.2-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-stringi-1.8.2-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-stringr-1.5.1-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-sys-3.4.2-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-tibble-3.2.1-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-utf8-1.2.4-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-vctrs-0.6.4-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-withr-2.5.2-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-xml2-git-r805.a55c225-1-x86_64.pkg.tar.zst


A r-rvest/PKGBUILD => r-rvest/PKGBUILD +28 -0
@@ 0,0 1,28 @@
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Pranav K Anupam <pranavanupam@yahoo.com>
# Contributor: Alex Branham <branham@utexas.edu>

_cranname=rvest
_cranver=1.0.3
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Easily Harvest (Scrape) Web Pages"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
#depends=('r>=3.2' r-glue r-cli 'r-httr>=0.5' 'r-lifecycle>=1.0.0' r-magrittr 'r-rlang>=1.0.0' r-selectr r-tibble 'r-xml2>=1.3' r-withr)
depends=('r>=3.2' r-glue r-cli 'r-httr>=0.5' 'r-lifecycle>=1.0.0' r-magrittr 'r-rlang>=1.0.0' r-selectr r-tibble r-xml2 r-withr)
optdepends=(r-covr r-knitr r-readr r-repurrrsive r-rmarkdown r-spelling r-stringi r-testthat r-webfakes)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('a465ef7391afaa3c26eebe8c61db02314ac04c4d8de5aa53f090716763d21c1e')

build() {
  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"

  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}

M r-selectr/Makefile => r-selectr/Makefile +1 -0
@@ 14,4 14,5 @@ build: .SRCINFO
		-I ~/pkg/local/pkgs/r-stringi-1.8.2-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-stringr-1.5.1-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-vctrs-0.6.4-1-x86_64.pkg.tar.zst
	@echo "Please sign package and rebuild **r-rvest**!"


M r-tibble/Makefile => r-tibble/Makefile +1 -0
@@ 21,5 21,6 @@ build: .SRCINFO
	@echo "Please sign package and rebuild **r-ggplot2**!"
	@echo "Please sign package and rebuild **r-googledrive**!"
	@echo "Please sign package and rebuild **r-rematch2**!"
	@echo "Please sign package and rebuild **r-rvest**!"
	@echo "Please sign package and rebuild **r-vroom**!"


M r-withr/Makefile => r-withr/Makefile +1 -0
@@ 8,5 8,6 @@ build: .SRCINFO
	@echo "Please sign package and rebuild **r-gargle**!"
	@echo "Please sign package and rebuild **r-ggplot2**!"
	@echo "Please sign package and rebuild **r-reprex**!"
	@echo "Please sign package and rebuild **r-rvest**!"
	@echo "Please sign package and rebuild **r-tidyselect**!"


M r-xml2-git/Makefile => r-xml2-git/Makefile +1 -0
@@ 7,4 7,5 @@ build: .SRCINFO
	makechrootpkg -c -r $$CHROOT \
		-I ~/pkg/local/pkgs/r-cli-3.6.1-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-rlang-1.1.2-1-x86_64.pkg.tar.zst
	@echo "Please sign package and rebuild **r-rvest**!"


M r-xml2/Makefile => r-xml2/Makefile +1 -0
@@ 5,4 5,5 @@
build: .SRCINFO
	arch-nspawn $$CHROOT/root pacman -Syu
	makechrootpkg -c -r $$CHROOT
	@echo "Please sign package and rebuild **r-rvest**!"