summaryrefslogtreecommitdiff
path: root/community/synfig/PKGBUILD
blob: fa0e14cf7793bb695555f616bc42a1ef9ae7aba2 (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
# $Id: PKGBUILD 49350 2011-06-14 17:04:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Franco Iacomella <yaco@gnu.org>

pkgname=synfig
pkgver=0.63.00
pkgrel=2
pkgdesc="Professional vector animation program (CLI renderer only)"
arch=(i686 x86_64)
url="http://synfig.org"
license=('GPL2')
depends=('libxml++' 'libsigc++2.0' 'etl' 'imagemagick' 'ffmpeg' 'fontconfig' 'libpng'
	 'libtiff' 'libdv' 'libmng')
optdepends=('openexr' 'libsigc++')
conflicts=('synfig-core')
replaces=('synfig-core')
options=(!libtool)
source=(http://arch.p5n.pp.ru/~sergej/dl/$pkgname-$pkgver.tar.gz
	build-fix.patch)
md5sums=('ea3633e9522ae89489519af351ba2443'
         '2de5e74159a38e4b1788c20d4c4b6f68')

build() {
  cd $srcdir/$pkgname-fb5ba9c/synfig-core
  [ -f configure ] || { libtoolize --ltdl --copy --force && autoreconf --install --force; }
  [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --with-libavcodec --with-libdv
  patch -p1 <$srcdir/build-fix.patch
  make
}

package() {
  cd $srcdir/$pkgname-fb5ba9c/synfig-core
  make DESTDIR=$pkgdir install
}