1 # Maintainer: Tiago Camargo <tcamargo@gmail.com>
2 # Contributor: Robson Roberto Souza Peixoto <robsonpeixoto@gmail.com>
7 pkgdesc='abntex is a class LaTeX for writing documents in ABNT standard.'
9 url="http://abntex.sourceforge.net/"
11 depends=('texlive-core')
12 install=$pkgname.install
13 source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${_pkgver}.tar.gz")
14 md5sums=('4c5bc2d5388ddf03df754072116ab1f8')
17 cd "${srcdir}/${pkgname}-${_pkgver:0:3}"
20 install -D -m 644 lyx/layouts/abnt.layout \
21 "${pkgdir}/usr/share/lyx/layouts/abnt.layout"
23 install -dm755 "${pkgdir}/usr/share/texmf-dist/"
25 for subdir in bibtex makeindex tex; do
26 cp -r "texmf/${subdir}" "${pkgdir}/usr/share/texmf-dist/"
29 cd "${pkgdir}/usr/share/texmf-dist"
30 find . -type d -exec chmod 755 {} \;
31 find . -type f -exec chmod 644 {} \;