summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e9bb6aa9182be76e4a18d9fff2a21385127b1c8b (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
# MMaintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=thesis
pkgver=1f
pkgrel=1
pkgdesc="Two LaTeX classes for bigger, thesis-like documents"
url="http://dante.ctan.org/CTAN/help/Catalogue/entries/thesis.html#Visit"
arch=('any')
license=('LPPL')
depends=('texlive-core')
source=(http://dante.ctan.org/CTAN/macros/latex/contrib/$pkgname.zip)
md5sums=('8c6e19dfbbd919c84abf939f12d8a8b9')

build() {
  cd $pkgname
  yes|latex install.01 
  yes|latex install.ndx 
}

package() {
  cd $pkgname
  install -Dm644 makendx.sty \
    "$pkgdir"/usr/share/texmf/tex/latex/$pkgname/makendx.sty 
  install -Dm644 thema.sty \
    "$pkgdir"/usr/share/texmf/tex/latex/$pkgname/thema.sty 
  install -Dm644 thema.cls \
    "$pkgdir"/usr/share/texmf/tex/latex/$pkgname/thema.cls 
  install -Dm644 thesis.sty \
    "$pkgdir"/usr/share/texmf/tex/latex/$pkgname/thesis.sty
  install -Dm644 thesis.cls \
    "$pkgdir"/usr/share/texmf/tex/latex/$pkgname/thesis.cls
  install -Dm644 makendx.ist \
    "$pkgdir"/usr/share/texmf/makeindex/$pkgname/makendx.ist
  install -Dm644 thesis.pdf \
    "$pkgdir"/usr/share/texmf/doc/$pkgname/thesis.pdf
}