updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / tth / PKGBUILD
blobeb76c361e919380b26c9cae5dbc0e8d9cfde6be2
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=tth  
3 pkgver=4.02
4 pkgrel=1
5 pkgdesc="TeX to HTML translator"
6 url="http://hutchinson.belmont.ma.us/tth/"
7 arch=('i686' 'x86_64')
8 depends=('sh')
9 license=('custom')
10 source=($pkgname-${pkgver}_C.tar.gz::http://hutchinson.belmont.ma.us/tth/tth-noncom/tth_C.tgz)
11 md5sums=('aa50d1ecfff7c0a072969494b6be7695')
13 build() {
14   cd $srcdir/tth_C
15   gcc -o tth tth.c 
17 package() {
18   cd $srcdir/tth_C
19   install -D -m755 tth $pkgdir/usr/bin/tth
20   install -D -m755 Xfonts.fix $pkgdir/usr/bin/Xfonts.fix 
21   install -D -m755 ps2gif $pkgdir/usr/bin/ps2gif 
22   install -D -m755 ps2png $pkgdir/usr/bin/ps2png 
23   install -D -m755 latex2gif $pkgdir/usr/bin/latex2gif 
24   install -D -m644 tth.1 $pkgdir/usr/share/man/man1/tth.1   
25   install -D -m644 tth.gif $pkgdir/usr/share/icons/tth.gif 
26   install -D -m644 tth_manual.html \
27     $pkgdir/usr/share/doc/tth/tth_manual.html 
28   install -D -m644 license.txt \
29     $pkgdir/usr/share/licenses/tth/licenses.txt