You are not logged in.

#1 2024-03-16 17:09:02

stefano
Member
Registered: 2011-04-09
Posts: 268

Help with new version of removed package texlive-dummy

Premise: I prefer to use the official texlive installation from CTAN instead of pacman's own packages. I therefore need to trick pacman into assuming the whole texlive suite  is installed.

The solution to my problem was provided by the package texlive-dummy that used to be in the AUR. Unfortunately, that package had been removed from the AUR. The source is still available on github, though, so I forked it and updated the PKGBUILD (the only file in the repo, really) to reflect pacman's current grouping of the texlive suite and prevent the tex-live dependendt packages I have installed (kile, lyx, etc.) to throw dependency errors. The package works.

However, I would like some advice, as those two single lines of code (i.e.,  "provides" and "conflicts") look far from clean. Isn't there a simple way to say to pacman "All of texlive"?

Here is the whole PKGBUILD:

# Maintainer: Stefano Franchi <stefano.franchi@gmail.com>
pkgname=texlive-dummy
pkgver=0.0.5
pkgrel=3
pkgdesc="A package tricking Arch into thinking it has the full texlive suite installed."
url="http://www.tug.org/texlive/"
arch=('any')
license=('GPL')
depends=()
optdepends=()
makedepends=()
replaces=()
conflicts=('texlive-basic' 'texlive-bin' 'texlive-core' $(pacman -Sgq texlive texlive-lang))
provides=('texlive-basic' 'texlive-bin' 'texlive-core' $(pacman -Sgq texlive texlive-lang))

build() {
   echo "Nothing to build"
}

package() {
   echo "Nothing to package"
}

Offline

#2 2024-09-24 08:13:28

nplatis
Member
From: Greece
Registered: 2011-02-22
Posts: 27

Re: Help with new version of removed package texlive-dummy

The package is now updated to reflect the new packaging.

Offline

Board footer

Powered by FluxBB