summaryrefslogtreecommitdiff
path: root/pcr/texlive-localmanager/PKGBUILD
blob: 508c46453c6c580d874f3e5507e17c78c523f44c (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
38
# Maintainer (AUR): XZS <d dot f dot fischer at web dot de>
# Contributor (AUR): Stefan Husmann <stefan-husmann@t-online.de>
# Contributor (AUR): Rémy Oudompheng <remy@archlinux.org>
# Contributor (AUR): Firmicus <francois . archlinux . org>
# Contrbutor: bill-auger <bill-auger@programmer.net>


pkgname=texlive-localmanager
pkgver=0.7
pkgrel=1
pkgdesc="A shell and command-line utility to manage TeXLive"
arch=('any')
url="http://wiki.archlinux.org/index.php?title=TeXLive#TeXLive_Local_Manager"
license=('GPL')

depends=('texlive-core>=2011'
         'perl-libwww'
         'perl-term-shellui'
         'perl-term-readline-gnu'
         'perl-list-moreutils'
         'perl-lwp-protocol-https')
install='tllocalmgr.install'
replaces=('texlive-localmanager-git')
source=(https://git.archlinux.org/users/remy/texlive-localmanager.git/snapshot/texlive-localmanager-${pkgver}.tar.gz)

sha256sums=('55938e60d0a431f9fadc9a9c62e713a70c112ad9a679c7cb21e1bc1459cb8129')


package() {
  cd "${srcdir}"/${pkgname}-${pkgver}

  install -d $pkgdir/usr/{bin,share/texmf/arch/tlpkg/TeXLive}
  install -m755 tllocalmgr $pkgdir/usr/bin/
  cd tlpkg/TeXLive
  for _f in *; do
    install -m644 $_f $pkgdir/usr/share/texmf/arch/tlpkg/TeXLive/
  done
}