diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/synfigstudio | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/synfigstudio')
-rw-r--r-- | community/synfigstudio/PKGBUILD | 45 | ||||
-rw-r--r-- | community/synfigstudio/synfigstudio.install | 12 |
2 files changed, 57 insertions, 0 deletions
diff --git a/community/synfigstudio/PKGBUILD b/community/synfigstudio/PKGBUILD new file mode 100644 index 000000000..cb4996bee --- /dev/null +++ b/community/synfigstudio/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 90608 2013-05-13 10:38:34Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Franco Iacomella <yaco@gnu.org> + +pkgname=synfigstudio +pkgver=0.64.0 +pkgrel=1 +pkgdesc="Professional vector animation program (GUI)" +arch=(i686 x86_64) +url="http://synfig.org" +license=('GPL2') +depends=('gtkmm' 'synfig') +makedepends=('openexr' 'imagemagick' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi' + 'xorg-fonts-misc' 'xorg-fonts-type1' 'intltool') +install=synfigstudio.install +options=('!libtool') +source=(http://downloads.sourceforge.net/project/synfig/synfigstudio/$pkgver/synfigstudio-$pkgver.tar.gz) +md5sums=('bbda14359a07254b8efe5e706de192df') + +build() { + cd $srcdir/synfigstudio-$pkgver + [ -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 +} + +package() { + cd $srcdir/synfigstudio-$pkgver + make DESTDIR=$pkgdir install + rm -f $pkgdir/usr/share/pixmaps/$pkgname/*.mng + install -m644 images/*.png -t $pkgdir/usr/share/pixmaps/$pkgname/ + rm -f $pkgdir/usr/share/mime/XMLnamespaces + rm -f $pkgdir/usr/share/mime/aliases + rm -f $pkgdir/usr/share/mime/generic-icons + rm -f $pkgdir/usr/share/mime/globs + rm -f $pkgdir/usr/share/mime/globs2 + rm -f $pkgdir/usr/share/mime/icons + rm -f $pkgdir/usr/share/mime/magic + rm -f $pkgdir/usr/share/mime/mime.cache + rm -f $pkgdir/usr/share/mime/subclasses + rm -f $pkgdir/usr/share/mime/treemagic + rm -f $pkgdir/usr/share/mime/types + rm -f $pkgdir/usr/share/mime/version +} diff --git a/community/synfigstudio/synfigstudio.install b/community/synfigstudio/synfigstudio.install new file mode 100644 index 000000000..6110a6f18 --- /dev/null +++ b/community/synfigstudio/synfigstudio.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime || true + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} |