summaryrefslogtreecommitdiff
path: root/community/wxsvg/PKGBUILD
blob: e39fadf3dff7cd6913855b374811475a7c32d8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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' 'mips64el')
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"
}