summaryrefslogtreecommitdiff
path: root/community/synfigstudio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/synfigstudio/PKGBUILD')
-rw-r--r--community/synfigstudio/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/synfigstudio/PKGBUILD b/community/synfigstudio/PKGBUILD
new file mode 100644
index 000000000..73aaafa65
--- /dev/null
+++ b/community/synfigstudio/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 36099 2010-12-27 10:40:19Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Franco Iacomella <yaco@gnu.org>
+
+pkgname=synfigstudio
+_lpkgname=synfig
+pkgver=0.62.02
+pkgrel=1
+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/${_lpkgname}/$pkgname-$pkgver.tar.gz
+ images-makefile.patch)
+md5sums=('4b06f813e497072f01779f554e34c315'
+ 'f5555c14b5e530f349dd222ff4499fee')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
+# [ $NOEXTRACT -eq 1 ] || patch -Np0 -i ../images-makefile.patch
+ sed -i 's#Gtk::IconSize::IconSize#Gtk::IconSize#' src/gui/dialogs/dialog_color.cpp
+
+ make
+ make DESTDIR=$pkgdir install
+
+ rm -f $pkgdir/usr/share/pixmaps/$pkgname/*.mng
+ install -m644 images/*.png -t $pkgdir/usr/share/pixmaps/$pkgname/
+}