summaryrefslogtreecommitdiff
path: root/community/synfigstudio/PKGBUILD
blob: f1e77c1ebd2fecb7bc8cb62f94dfda6a3265d666 (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 'mips64el')
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/
}