updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / breqn / PKGBUILD
bloba845f12f27ebd713315afc5930ed8aaffeaa74ff
1 # Contributor: Dariusz 'quasi' Panchyrz <quasi@aur.archlinux.org>
3 pkgname=breqn
4 pkgver=1.2b
5 pkgrel=2
6 pkgdesc="Automatic line breaking of displayed equations."
7 arch=('i686' 'x86_64')
8 url="http://www.ctan.org/tex-archive/help/Catalogue/entries/breqn.html"
9 license=('LPPL')
10 depends=('texlive-bin' 'texlive-core')
11 install=$pkgname.install
12 source=(ftp://cam.ctan.org/tex-archive/macros/latex/contrib/mh.zip)
13 md5sums=('6ae7bdc1d723dfe1cbb549a4c3b310d9')
14 build() {
16   mkdir -p $startdir/pkg/usr/share/texmf/tex/latex/breqn
17   mkdir -p $startdir/pkg/usr/share/doc/breqn
19   cd $startdir/src/mh
21   for i in *.dtx
22   do
23     tex --output-directory=$startdir/pkg/usr/share/texmf/tex/latex/breqn/ $i
24   done
26   for i in *.pdf
27   do
28     cp $i $startdir/pkg/usr/share/doc/breqn
29   done