# Maintainer : Leonidas Spyropoulos # Contributor: Miguel Revilla # Contributor: Joshua Stiefer # Contributor: Alexander Fehr # Contributor: Daniel J Griffiths pkgname=wxsvg pkgver=1.5.22 pkgrel=1 pkgdesc="C++ library to create, manipulate and render SVG files" arch=('i686' 'x86_64') url="http://wxsvg.sourceforge.net/" license=('custom:wxWindows') depends=('wxgtk' 'ffmpeg' 'libexif') options=('!libtool') source=("https://downloads.sourceforge.net/project/wxsvg/wxsvg/${pkgver}/wxsvg-${pkgver}.tar.bz2") sha256sums=('0de168cd9f0ccd309b8640c1b6e89f2a906983bc12efe75b0c5cd30f1eaff529') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" autoreconf -fi ./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config } build() { cd "${srcdir}/${pkgname}-${pkgver}" make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -D -m644 COPYING "${pkgdir}/usr/share/licenses/wxsvg/COPYING" }