1 # Contributor: Woody Gilk <woody@archlinux.org>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
6 pkgdesc="An advanced vector graphics program, development release"
8 url="http://www.xaraxtreme.org/"
11 makedepends=('pkgconfig' 'zip')
12 optdepends=('imagemagick: needed for some conversions')
13 install=${pkgname}.install
14 source=(http://downloads2.xara.com/opensource/XaraLX-$pkgver.tar.bz2 \
15 xaralx-wxGTK-2.8.patch.bz2)
19 cd $srcdir/XaraLX-$pkgver
20 sed -i "/info_ptr->trans/s:trans:trans_alpha:" wxOil/outptpng.cpp || return 1
22 patch -p1 < $srcdir/xaralx-wxGTK-2.8.patch || return 1
23 ./configure --prefix=/usr --enable-filters \
24 --enable-xarlib --disable-svnversion --with-gnu-ld || return 1
26 make DESTDIR=$pkgdir install || return 1
28 # Desktop compatibility
29 install -D -m644 $pkgname.png \
30 $pkgdir/usr/share/pixmaps/$pkgname.png || return 1
31 install -D -m644 $pkgname.desktop \
32 $pkgdir/usr/share/applications/$pkgname.desktop || return 1
33 install -D -m644 Mime/$pkgname.xml \
34 $pkgdir/usr/share/mime/packages/$pkgname.xml || return 1
36 cd $pkgdir/usr/bin && ln -s XaraLX $pkgname
39 md5sums=('5f2fd1f188f2c01c0b06e69d0fba2f4f'
40 '6085d2ad262c66f3a9999f2c2840c1eb')