1 # Contributor: forest76 <forestt@poczta.onet.pl>
2 # Contributor: Tilman Blumenbach <tilman@ax86.net>
7 pkgdesc='autotrace is a utility to trace bitmaps: convert bitmaps to vector graphics'
9 url='http://autotrace.sourceforge.net/'
10 license=('GPL' 'LGPL')
11 depends=('pstoedit' 'imagemagick>=6.5.3.10')
12 makedepends=('pkg-config' 'autoconf')
14 source=(http://downloads.sourceforge.net/autotrace/$pkgname-$pkgver.tar.gz
18 _configure_args='--prefix=/usr'
19 if [ `/usr/bin/pacman -Q pstoedit | cut -d ' ' -f 2` = '3.50-3' ]; then
20 # This version of the pstoedit package is broken (FS #19221).
22 'Broken pstoedit package found, disabling pstoedit support in AutoTrace.'
23 _configure_args="${_configure_args} --without-pstoedit"
26 cd "${srcdir}/${pkgname}-${pkgver}"
27 patch -Np 1 -i "${srcdir}/build-fixes.patch" || return 1
30 ./configure ${_configure_args}
32 make "DESTDIR=${pkgdir}" install || return 1
35 md5sums=('54eabbb38d2076ded6d271e1ee4d0783'
36 'f44a610e531543f99271e389f8dc53c3')