updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / xindy.sty / PKGBUILD
blob2b4d80ee6933ed08ffe8d00c3bb03479618ff1df
1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 pkgname=xindy.sty  
4 pkgver=1.1beta
5 pkgrel=2
6 pkgdesc="A small LaTeX package to use the xindy insdexing system"
7 url="http://xindy.sourceforge.net/html-mail-archive/msg00025.html"
8 arch=('any')
9 license=('custom')
10 depends=('texlive-core')
11 source=(xindy.ins xindy.dtx license)
12 md5sums=('f64d5cb43c1a1012ff11987a30f7ff16'
13          '9d91d1fbe616f562b3da2e500daeef8a'
14          '3af4ea17568fc731da6ffeecf646c236')
15 install=xindy.install
17 build() {
18   for _suffix in sty drv toc aux pdf glo log
19   do
20     [[ -f ${_suffix} ]] && rm xindy.${_suffix}
21   done
22   install -d $pkgdir/usr/share/texmf/{tex/latex/xindy,doc/xindy}
23   yes|latex xindy.ins 
24   for _suffix in sty ins dtx
25   do
26     install -Dm644 xindy.${_suffix} \
27       $pkgdir/usr/share/texmf/tex/latex/xindy/xindy.${_suffix}
28   done
29   latex xindy.drv
30   latex xindy.drv
31   latex xindy.drv
32   install -Dm644 xindy.dvi \
33     $pkgdir/usr/share/texmf/doc/xindy/xindy.sty.dvi
34   install -Dm644 license $pkgdir/usr/share/licenses/$pkgname/license