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

29 lines
816 B
Bash

# Contributor: Franco Iacomella <yaco@gnu.org>
pkgname=synfigstudio
_pkgname=synfig
pkgver=0.61.09
pkgrel=2
pkgdesc="Professional vector animation program (GUI)"
arch=(i686 x86_64)
url="http://synfig.org"
license=('GPL2')
depends=('gtkmm' 'synfig')
install=synfigstudio.install
source=(http://downloads.sourceforge.net/sourceforge/$_pkgname/$pkgname-$pkgver.tar.gz
images-makefile.patch)
md5sums=('09dac04ce8b6b8ac0ff15fde4b041eed'
'f5555c14b5e530f349dd222ff4499fee')
build() {
cd $srcdir/$pkgname-$pkgver
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
[ $NOEXTRACT -eq 1 ] || patch -Np0 -i ../images-makefile.patch || return 1
make || return 1
make DESTDIR=$pkgdir install
rm -f $pkgdir/usr/share/pixmaps/$pkgname/*.mng
install -m644 images/*.png -t $pkgdir/usr/share/pixmaps/$pkgname/
}