Package Details: r-tinytex 0.54-1

Git Clone URL: https://aur.archlinux.org/r-tinytex.git (read-only, click to copy)
Package Base: r-tinytex
Description: Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents
Upstream URL: https://cran.r-project.org/package=tinytex
Licenses: MIT
Submitter: Kibouo
Maintainer: pekkarr (BioArchLinuxBot)
Last Packager: BioArchLinuxBot
Votes: 4
Popularity: 0.101482
First Submitted: 2019-05-02 17:52 (UTC)
Last Updated: 2024-11-07 18:10 (UTC)

Dependencies (4)

Required by (10)

Sources (1)

Latest Comments

floriafa commented on 2022-01-27 22:54 (UTC)

New Package available, please update: https://cran.r-project.org/src/contrib/tinytex_0.36.tar.gz

hcartiaux commented on 2021-09-24 15:40 (UTC)

New version 0.33

_cranver=0.33
sha256sums=('83344beee8b76f22535a0c069669249ee77318a2c4246f769965e346c0b19882'
            'f58c2f5b0f10b231d9cea9bc4ea0d849cd4279a21d03257be8dc9fd9452fad37')

workingdodo commented on 2021-04-02 16:23 (UTC)

Installing this now results in a failure to build, as there is no version 0.30 in the sources listed, only 0.31. Updating this PKGBUILD, and running it worked on my end, hope this helps :)

# Maintainer: anzi2001 <anzi2001 at gmail dot com> 
# Contributor: haha662 <haha662 at outlook dot com>
# Contributor: Kibouo <csonka.mihaly@hotmail.com>
# Contributor: Alex Branham <branham@utexas.edu>

_cranname=tinytex
_cranver=0.31
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Helper Functions to Install and Maintain 'TeX Live', and Compile 'LaTeX' Documents"
arch=("any")
url="https://cran.r-project.org/package=${_cranname}"
license=("MIT" "custom")
depends=("r" "r-xfun>=0.19")
# makedepends=()
optdepends=("r-textit" "r-rstudioapi")
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz" "https://cran.r-project.org/web/packages/tinytex/LICENSE")
sha256sums=('17bc975327a1ccb96f877678775c9067f71683d597ea716ab260f4d815b34311'
            'f58c2f5b0f10b231d9cea9bc4ea0d849cd4279a21d03257be8dc9fd9452fad37')

build() {
  cd "${srcdir}"

  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
}

package() {
  cd "${srcdir}"

  install -dm0755 "${pkgdir}/usr/lib/R/library"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}

blazko commented on 2020-02-12 11:21 (UTC) (edited on 2020-02-12 11:21 (UTC) by blazko)

This works for version 0.19

_cranname=tinytex
_cranver=0.19
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-tinytex
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc='Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents'
arch=('any')
url='https://cran.r-project.org/package=tinytex'
license=('MIT')
depends=('r' 'r-xfun>=0.3')
optdepends=('r-testit' 'r-rstudioapi')
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('7c0dd8ae084bd4c8632384bd5538b5a7')

chilledfrogs commented on 2019-06-01 22:55 (UTC)

Hello there,

I noticed you are missing a few variables, as well as having an outdated version of a package, here are the fixes I made to make it work (I didn't implement automatically doing tinytex::install_tinytex() since I'm far from a PKGBUILD expert, but that would be something nice to do indeed):

_cranname=tinytex
_cranver=0.13
_pkgtar=${_cranname}_${_cranver}.tar.gz
[...]
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('52375012e355e4f74ce9463d8c98e42d')
[...]

Of course, double-check and/or change the md5sum if a new release comes out...

In the meantime I will flag this as out-of-date