4 pkgdesc="Perl script designed to convert Xfig files to postscript or PDF files, text is processed using LaTeX"
6 url="http://$pkgname.sourceforge.net/"
8 depends=('perl>=5.8' 'texlive-bin' 'transfig' 'gv')
9 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 \
12 backup=('etc/fig2ps/fig2ps.rc')
13 md5sums=('22ea30b5d0f36dfec7b462449b0fc82b'
14 'bbed7da26e9520f0e9cf9e6bd8f25c76'
15 '98fd72ade674dd20b745604b5ba079ca')
18 cd $srcdir/$pkgname-$pkgver
20 # patch the config file to also use amsfonts
21 patch -Np0 -i $srcdir/ams_font.patch || return 1
23 # patch the fig2ps script to use dvips to construct bounding
24 # boxes, this is needed to work with TeXLive 2008
25 patch -Np0 -i $srcdir/bbox_dvips.patch || return 1
28 make PREFIX=$pkgdir/usr MANDIR=$pkgdir/usr/share/man ETCDIR=$pkgdir/etc/fig2ps install