mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
30 lines
1,011 B
Bash
30 lines
1,011 B
Bash
# Maintainer: damir <damir@archlinux.org>
|
|
# Contributor: forest76 <forestt@poczta.onet.pl>
|
|
# Thanks to: neri for the IM-detection fix
|
|
|
|
pkgname=autotrace
|
|
pkgver=0.31.1
|
|
pkgrel=9
|
|
pkgdesc="autotrace is a utility to trace bitmaps: convert bitmaps to vector graphics"
|
|
arch=('arm')
|
|
url='http://autotrace.sourceforge.net/'
|
|
license=('GPL' 'LGPL')
|
|
depends=('pstoedit' 'imagemagick>=6.5.3.10')
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/autotrace/$pkgname-$pkgver.tar.gz
|
|
aclocal-fixes.patch)
|
|
md5sums=('54eabbb38d2076ded6d271e1ee4d0783'
|
|
'94b82727bb1749fc252ddba43ad586f2')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
|
|
|
|
# Fix IM detection for 6.x.y:
|
|
sed -i 's|\\>= 2|\\>= 0|' configure
|
|
chmod 755 configure
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man --with-pstoedit --disable-pstoedittest PSTOEDIT_CONFIG=/bin/true
|
|
make LIBPSTOEDIT_LIBS+=-lpstoedit || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
}
|