summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-08-30 08:26:07 -0500
committerAlex Branham2018-08-30 08:26:07 -0500
commit45c75dd2f7666ec5e29b75e272f2971f04ee4a11 (patch)
tree9aff84c93cefd9b9217d05c9afd09b48e209f31a
parent8c1a724918567f2bfa8aef7769104f582f9602a2 (diff)
downloadaur-45c75dd2f7666ec5e29b75e272f2971f04ee4a11.tar.gz
Upkg 1.8.3
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD22
2 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 37ded56cba7..398d9b0a631 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,20 @@
pkgbase = r-xtable
pkgdesc = Export Tables to LaTeX or HTML
- pkgver = 1.8.2
+ pkgver = 1.8.3
pkgrel = 1
url = https://cran.r-project.org/package=xtable
arch = any
license = GPL
depends = r
optdepends = r-knitr
- optdepends = r-lsmeans
optdepends = r-spdep
optdepends = r-splm
optdepends = r-sphet
optdepends = r-plm
optdepends = r-zoo
replaces = r-cran-xtable
- source = https://cran.r-project.org/src/contrib/xtable_1.8-2.tar.gz
- md5sums = 239e4825cd046156a67efae3aac01d86
+ source = https://cran.r-project.org/src/contrib/xtable_1.8-3.tar.gz
+ md5sums = 10f7aebbf39e64798c1042b2a57a39a0
pkgname = r-xtable
diff --git a/PKGBUILD b/PKGBUILD
index 3d055af506a..6085fb08d35 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,23 @@
# Maintainer: Alex Branham <branham@utexas.edu>
-_cranname=xtable
-_cranver=1.8-2
-_pkgtar=${_cranname}_${_cranver}.tar.gz
+_cranver=1.8-3
pkgname=r-xtable
pkgver=${_cranver//[:-]/.}
pkgrel=1
-pkgdesc="Export Tables to LaTeX or HTML"
+pkgdesc='Export Tables to LaTeX or HTML'
arch=('any')
-url="https://cran.r-project.org/package=${_cranname}"
+url='https://cran.r-project.org/package=xtable'
license=('GPL')
depends=('r' )
-
-optdepends=('r-knitr' 'r-lsmeans' 'r-spdep' 'r-splm' 'r-sphet' 'r-plm' 'r-zoo')
-
-source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('239e4825cd046156a67efae3aac01d86')
+optdepends=('r-knitr' 'r-spdep' 'r-splm' 'r-sphet' 'r-plm' 'r-zoo')
replaces=('r-cran-xtable')
+source=("https://cran.r-project.org/src/contrib/xtable_"$_cranver".tar.gz")
+md5sums=('10f7aebbf39e64798c1042b2a57a39a0')
build(){
- R CMD INSTALL ${_pkgtar} -l $srcdir
+ R CMD INSTALL xtable_"$_cranver".tar.gz -l "$srcdir"
}
package() {
- install -d "$pkgdir/usr/lib/R/library"
- cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+ install -dm0755 "$pkgdir"/usr/lib/R/library
+ cp -a --no-preserve=ownership xtable "$pkgdir"/usr/lib/R/library
}