summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3973f7e80756c9844530c62ef4053bf8714d6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Hans-Nikolai Viessmann <hans at viess dot mn>
# Contributor: XZS <d dot f dot fischer at web dot de>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
# Contributor: Firmicus <francois . archlinux . org>

pkgname=tllocalmgr
pkgver=0.8.3
pkgrel=1
pkgdesc='A shell and command-line utility to manage TeXLive on Arch Linux'
arch=('any')
url='https://github.com/hv15/tllocalmgr'
license=('GPL')
provides=("texlive-localmanager=$pkgver")
conflicts=('texlive-localmanager'
           'texlive-localmanager-git'
           'tllocalmgr-git')
depends=('texlive-core>=2022'
         'perl-libwww'
         'perl-term-shellui'
         'perl-term-readline-gnu'
         'perl-list-moreutils'
         'perl-lwp-protocol-https')
makedepends=('git')

source=("${pkgname}::git+https://github.com/hv15/tllocalmgr.git#tag=v${pkgver}")
sha256sums=('SKIP')

package() {
  cd "$pkgname"
  install -d "$pkgdir/usr/"{bin,share/tllmgr/TLLocalMgr}
  install -m755 tllocalmgr "$pkgdir/usr/bin/"
  cd tllmgr/TLLocalMgr
  for _f in *; do
    install -m644 "$_f" "$pkgdir/usr/share/tllmgr/TLLocalMgr/"
  done
}