PKGBUILDs/community/synfig/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
779 B
Bash

# Contributor: Franco Iacomella <yaco@gnu.org>
pkgname=synfig
pkgver=0.61.09
pkgrel=2
pkgdesc="Professional vector animation program (CLI renderer only)"
arch=(i686 x86_64)
url="http://synfig.org"
license=('GPL2')
depends=('libxml++2' 'libsigc++2.0' 'etl' 'imagemagick' 'ffmpeg' 'fontconfig' 'libpng' 'libtiff')
conflicts=('synfig-core')
replaces=('synfig-core')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('0330521fe46b9e8a39df7081ec64c5d5')
build() {
cd $srcdir/$pkgname-$pkgver
[ $NOEXTRACT -eq 1 ] || sed -i '1,2i#include <stdio.h>' src/synfig/time.cpp
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc \
--without-libavcodec --without-libdv
make || return 1
make DESTDIR=$pkgdir install
}