# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Daniel J Griffiths # Maintainer: Alexander Fehr pkgname=wxsvg pkgver=1.0 pkgrel=1 pkgdesc="C++ library to create, manipulate and render SVG files" arch=('i686' 'x86_64') url="http://www.wxsvg.org/" license=('custom:wxWindows') depends=('wxgtk' 'libart-lgpl' 'ffmpeg') options=('!libtool') source=(http://downloads.sourceforge.net/wxsvg/$pkgname-$pkgver.tar.bz2) md5sums=('6e25eee638ac0532af9cabed85590e27') build() { cd "$srcdir/$pkgname-$pkgver" #sed -i 's|avformat.h|libavformat/avformat.h|' src/mediadec_ffmpeg.cpp || return 1 #sed -i 's|swscale.h|libswscale/swscale.h|' src/mediadec_ffmpeg.cpp || return 1 ./autogen.sh || return 1 ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 install -D -m644 COPYING "$pkgdir/usr/share/licenses/wxsvg/COPYING" || return 1 }