summaryrefslogtreecommitdiff
path: root/community/wxsvg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wxsvg/PKGBUILD')
-rw-r--r--community/wxsvg/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/wxsvg/PKGBUILD b/community/wxsvg/PKGBUILD
new file mode 100644
index 000000000..f4520f9be
--- /dev/null
+++ b/community/wxsvg/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 43527 2011-03-27 08:14:30Z ebelanger $
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=wxsvg
+pkgver=1.0.8
+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' 'libart-lgpl' 'ffmpeg')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/project/wxsvg/wxsvg/${pkgver}/wxsvg-${pkgver}-1.tar.bz2")
+md5sums=('81b1b4e9f86b74850d56df6cc3a44faa')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-1"
+
+ #sed -i 's|avformat.h|libavformat/avformat.h|' src/mediadec_ffmpeg.cpp
+ #sed -i 's|swscale.h|libswscale/swscale.h|' src/mediadec_ffmpeg.cpp
+
+ ./autogen.sh
+
+ ./configure \
+ --prefix=/usr
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-1"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 COPYING \
+ "${pkgdir}/usr/share/licenses/wxsvg/COPYING"
+}