summaryrefslogtreecommitdiff
path: root/community/synfigstudio/PKGBUILD
blob: 73aaafa6515f7d02d10fb50184e16bb09b4b8a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/
}