summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2021-01-26 14:37:55 +0300
committerViktor Drobot2021-01-26 14:37:55 +0300
commitbcf38187e4a0ae612cab6458751d1193d4ec5aae (patch)
tree9bc89cfdb6c9083a31205d204a9f3c0c56fa0b2f
parent064cb2c62d043b2870d420330d2489c3074f6a25 (diff)
downloadaur-r-fastmap.tar.gz
Update
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD30
2 files changed, 18 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2080096fe45..c9e6f57819a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = r-fastmap
- pkgdesc = Fast Implementation of a Key-Value Store
- pkgver = 1.0.1
+ pkgdesc = Fast Data Structures
+ pkgver = 1.1.0
pkgrel = 1
url = https://cran.r-project.org/package=fastmap
- arch = x86_64
arch = i686
+ arch = x86_64
license = MIT
- makedepends = gcc
depends = r
optdepends = r-testthat
- source = http://cran.r-project.org/src/contrib/fastmap_1.0.1.tar.gz
- md5sums = 3f6c60a00b60f3a3fba56962fe245ae8
+ source = https://cran.r-project.org/src/contrib/fastmap_1.1.0.tar.gz
+ sha256sums = 9113e526b4c096302cfeae660a06de2c4c82ae4e2d3d6ef53af6de812d4c822b
pkgname = r-fastmap
diff --git a/PKGBUILD b/PKGBUILD
index 124d5e2e57c..c9155aa6590 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,25 @@
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_cranname=fastmap
-_cranver=1.0.1
-pkgname=r-${_cranname}
+_cranver=1.1.0
+pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
-pkgdesc="Fast Implementation of a Key-Value Store"
-arch=('x86_64' 'i686')
+pkgdesc="Fast Data Structures"
+arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
-license=('MIT')
-depends=('r')
-makedepends=('gcc')
-optdepends=('r-testthat')
-source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-md5sums=('3f6c60a00b60f3a3fba56962fe245ae8')
+license=(MIT)
+depends=(r)
+optdepends=(r-testthat)
+source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+sha256sums=('9113e526b4c096302cfeae660a06de2c4c82ae4e2d3d6ef53af6de812d4c822b')
-build(){
- cd "${srcdir}"
-
- R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l $srcdir
+build() {
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}
package() {
- cd "${srcdir}"
+ install -dm0755 "${pkgdir}/usr/lib/R/library"
- install -dm0755 "$pkgdir/usr/lib/R/library"
- cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library"
+ cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}