summaryrefslogtreecommitdiff
path: root/community/synfigstudio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/synfigstudio/PKGBUILD')
-rw-r--r--community/synfigstudio/PKGBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/community/synfigstudio/PKGBUILD b/community/synfigstudio/PKGBUILD
index f1e77c1eb..ed4723eeb 100644
--- a/community/synfigstudio/PKGBUILD
+++ b/community/synfigstudio/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 36099 2010-12-27 10:40:19Z spupykin $
+# $Id: PKGBUILD 49314 2011-06-14 10:52:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Franco Iacomella <yaco@gnu.org>
pkgname=synfigstudio
-_lpkgname=synfig
-pkgver=0.62.02
+pkgver=0.63.00
pkgrel=1
pkgdesc="Professional vector animation program (GUI)"
arch=(i686 x86_64 'mips64el')
@@ -12,21 +11,20 @@ url="http://synfig.org"
license=('GPL2')
depends=('gtkmm' 'synfig')
install=synfigstudio.install
-source=(http://downloads.sourceforge.net/sourceforge/${_lpkgname}/$pkgname-$pkgver.tar.gz
- images-makefile.patch)
-md5sums=('4b06f813e497072f01779f554e34c315'
- 'f5555c14b5e530f349dd222ff4499fee')
+source=(http://arch.p5n.pp.ru/~sergej/dl/synfig-$pkgver.tar.gz)
+md5sums=('ea3633e9522ae89489519af351ba2443')
build() {
- cd $srcdir/$pkgname-$pkgver
-
- [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
-# [ $NOEXTRACT -eq 1 ] || patch -Np0 -i ../images-makefile.patch
+ cd $srcdir/synfig-fb5ba9c/synfig-studio
+ [ -f configure ] || { libtoolize --ltdl --copy --force && autoreconf --install --force; }
+ [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --with-libavcodec --with-libdv
sed -i 's#Gtk::IconSize::IconSize#Gtk::IconSize#' src/gui/dialogs/dialog_color.cpp
-
make
- make DESTDIR=$pkgdir install
+}
+package() {
+ cd $srcdir/synfig-fb5ba9c/synfig-studio
+ make DESTDIR=$pkgdir install
rm -f $pkgdir/usr/share/pixmaps/$pkgname/*.mng
install -m644 images/*.png -t $pkgdir/usr/share/pixmaps/$pkgname/
}