updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / thesis / PKGBUILD
blob5bce35a3e5fd44ba394ff1fcc752a1d34abf6c08
1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=thesis
3 pkgver=1.0
4 pkgrel=3
5 pkgdesc="Two LaTeX classes for bigger, thesis-like documents"
6 url="http://dante.ctan.org/CTAN/help/Catalogue/entries/thesis.html#Visit"
7 arch=('any')
8 license=('LPPL')
9 depends=('texlive-core')
10 install=thesis.install
11 source=(http://dante.ctan.org/CTAN/macros/latex/contrib/$pkgname.zip)
12 md5sums=('8c6e19dfbbd919c84abf939f12d8a8b9')
14 build() {
15   cd $srcdir/$pkgname
16   yes | latex install.01 || return 1
17   yes | latex install.ndx || return 1
18   install -Dm644 makendx.sty \
19     $pkgdir/usr/share/texmf/tex/latex/$pkgname/makendx.sty || return 1
20   install -Dm644 thema.sty \
21     $pkgdir/usr/share/texmf/tex/latex/$pkgname/thema.sty || return 1
22   install -Dm644 thema.cls \
23     $pkgdir/usr/share/texmf/tex/latex/$pkgname/thema.cls || return 1
24   install -Dm644 thesis.sty \
25     $pkgdir/usr/share/texmf/tex/latex/$pkgname/thesis.sty || return 1
26   install -Dm644 thesis.cls \
27     $pkgdir/usr/share/texmf/tex/latex/$pkgname/thesis.cls || return 1
28   install -Dm644 makendx.ist \
29     $pkgdir/usr/share/texmf/makeindex/$pkgname/makendx.ist || return 1
30   install -Dm644 thesis.pdf \
31     $pkgdir/usr/share/texmf/doc/$pkgname/thesis.pdf || return 1