updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / texlive-subfiles / PKGBUILD
blob943ab57fd87d2835dc4ff985da5562872fa4bbde
1 # Contributor: Tim Besard <tim.besard@gmail.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
4 pkgname=texlive-subfiles
5 pkgver=1.0
6 pkgrel=4
7 pkgdesc="Individual typesetting of subfiles of a "main" document."
8 arch=(i686 x86_64)
9 url="http://ctan.org/tex-archive/macros/latex/contrib/subfiles"
10 license=('GPL')
11 depends=('texlive-core')
12 install='texlive-subfiles.install'
13 source=('http://mirrors.ctan.org/macros/latex/contrib/subfiles/subfiles.dtx'
14 'http://mirror.ctan.org/macros/latex/contrib/subfiles/subfiles.ins')
15 md5sums=('f5904de19b2af7f0c620f09412053dff'
16          '54e8fa80900063c571871e39897bb4e3')
18 build() {
19   cd "$srcdir"
20   latex -interaction=batchmode subfiles.ins
21   pdflatex -interaction=batchmode subfiles.dtx
24 package() {
25   cd "$srcdir"
26   install -Dm644 subfiles.sty $pkgdir/usr/share/texmf/tex/latex/subfiles.sty
27   install -Dm644 subfiles.cls $pkgdir/usr/share/texmf/tex/latex/subfiles.cls
28   install -Dm644 subfiles.pdf $pkgdir/usr/share/texmf/doc/latex/subfiles.pdf