summaryrefslogtreecommitdiff
path: root/community/synfigstudio
diff options
context:
space:
mode:
Diffstat (limited to 'community/synfigstudio')
-rw-r--r--community/synfigstudio/PKGBUILD24
-rw-r--r--community/synfigstudio/synfigstudio.install1
2 files changed, 11 insertions, 14 deletions
diff --git a/community/synfigstudio/PKGBUILD b/community/synfigstudio/PKGBUILD
index 73aaafa65..1d870eba7 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)
@@ -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/
}
diff --git a/community/synfigstudio/synfigstudio.install b/community/synfigstudio/synfigstudio.install
index b4ee8556f..b95cc069d 100644
--- a/community/synfigstudio/synfigstudio.install
+++ b/community/synfigstudio/synfigstudio.install
@@ -9,4 +9,3 @@ post_upgrade() {
post_remove() {
which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
}
-