updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / texlive-localmanager / PKGBUILD
blob96c8167fa2faa4ec0ab65d395474abaf0137c32f
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: Firmicus <francois . archlinux . org>
4 pkgname=texlive-localmanager
5 pkgver=0.4.2
6 pkgrel=1
7 pkgdesc="A shell and command-line utility to manage TeXLive on Arch Linux"
8 arch=('any')
9 url="http://wiki.archlinux.org/index.php?title=TeXLive#TeXLive_Local_Manager"
10 license=('GPL')
11 depends=('texlive-core>=2010' 'perl-libwww' 'perl-term-shellui' 'perl-term-readline-gnu' 'perl-list-moreutils')
12 source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver.tar.gz")
13 md5sums=('06ad40af9d71d20405af0cd090fd5648')
15 package() {
16   cd $srcdir/$pkgname-$pkgver
17   install -d $pkgdir/usr/bin
18   install -d $pkgdir/var/lib/texmf/arch/tlpkg/TeXLive
19   install -m755 tllocalmgr $pkgdir/usr/bin/
20   cd tlpkg/TeXLive
21   for f in *; do
22     install -m644 $f $pkgdir/var/lib/texmf/arch/tlpkg/TeXLive/
23   done
26 # vim:set ts=2 sw=2 et: