summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Fink2022-02-15 16:07:48 +0200
committerChristoph Fink2022-02-15 16:07:48 +0200
commit214667d541b825c94075d41f917b505ffc159d7f (patch)
tree33d93c388c3d0a228cc30240eae9fb3c0363bbdd /PKGBUILD
parent5fc71f3e534387fea4fe06f5e66b04576de25114 (diff)
downloadaur-r-r5r.tar.gz
upgpkg: r-r5r 0.7.0-1
upstream release upstream 0.7.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4cda4c3e91b..5f13dc790c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: peippo <christoph+aur@christophfink.com>
_cranname=r5r
-_cranver=0.6.0
+_cranver=0.7.0
pkgname=r-${_cranname,,}
-pkgdesc="Rapid Realistic Routing with 'R5'"
+pkgdesc="Rapid Realistic Routing with ‘R5’"
url="https://cran.r-project.org/package=r5r"
license=("MIT")
pkgver=${_cranver//[:-]/.}
-pkgrel=2
+pkgrel=1
arch=("any")
depends=("java-r5" "java-r5rcore" "r" "r-checkmate" "r-curl" "r-data.table" "r-httr" "r-raster" "r-rjava" "r-sf" "r-sfheaders")
@@ -15,7 +15,7 @@ optdepends=("r-akima" "r-covr" "r-dplyr" "r-ggplot2" "r-knitr" "r-mapview" "r-rm
makedepends=()
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-sha512sums=("8b766bc98ef6e9caa85c0e7e7b922c26ac4b63a9eba24313078cd9b46293cad761dff0883e69e79f02f7b01fd901ea75d63a01edb4c1df2741e5bff6ac316ee8")
+sha512sums=("506bdff1403dec41843fd8a2a53b78328898c42d3f048213e1f9009a93ef6b9df90dbf5d78a365cb8514df6825b86acf5d2aa65887603a769c73d5b5dff18679")
build() {
R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
@@ -31,14 +31,13 @@ package() {
ln -sf \
/usr/share/java/r5/r5-all.jar \
- "${pkgdir}/usr/lib/R/library/${_cranname}/jar/r5-v6.4-all_20211021.jar"
+ "${pkgdir}/usr/lib/R/library/${_cranname}/jar/r5-v6.4-all.jar"
# TODO: don’t hardcode these paths!
# ( this is going to be a bit of a pita:
- # 1. get https://www.ipea.gov.br/geobr/r5r/metadata.csv
- # 2. check in ${srcdir}/.../download_r5.R what the default argument for `version` is
- # 3. find the basename of the according url from the csv
+ # 1. check in ${srcdir}/.../download_r5.R what the default argument for `version` is
+ # 2. find the basename of the according url from the csv in ${srcdir}/.../int/extdata/metadata.csv
# tl;dr: not pretty in a PKGBUILD)
if [[ -f "${_cranname}/LICENSE" ]]; then