updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / latex-herm-pic / PKGBUILD
blobd421fc0bbddd1322a6baf529f9cf1784e56d4e63
1 # Contributor: Pascal Wittmann <mail@pascal-wittmann.de>
2 pkgname=latex-herm-pic
3 pkgver=1.0.2
4 pkgrel=1
5 pkgdesc="Package to draw HERM and ER diagrams."
6 arch=('any')
7 url="http://www.svenies-welt.de/?page_id=26"
8 license=('LPPL (LaTeX Project Public License)')
9 depends=('texlive-core')
10 install=$pkgname.install
11 source=(http://my.dex.de/~sven/downloads/hermpic\_$pkgver.tar.gz)
12 md5sums=('d7d2c2826801e6fb36e83f9b1ed1a88e')
14 build() {
15     cd hermpic
16     install -dm755 "${pkgdir}/usr/share/texmf/tex/latex/herm-pic"
17     
18     for file in herm-pic-erd.sty herm-pic-impl.sty herm-pic.sty herm-rev.sty; do
19         cp -r $file "${pkgdir}/usr/share/texmf/tex/latex/herm-pic"
20     done
22     cd "${pkgdir}/usr/share/texmf/tex/latex/"
23     find . -type d -exec chmod 755 {} \;
24     find . -type f -exec chmod 644 {} \;