diff options
Diffstat (limited to 'community/mypaint')
-rw-r--r-- | community/mypaint/PKGBUILD | 5 | ||||
-rw-r--r-- | community/mypaint/mypaint.install | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/community/mypaint/PKGBUILD b/community/mypaint/PKGBUILD index 8e5cc26b7..fa2ace03d 100644 --- a/community/mypaint/PKGBUILD +++ b/community/mypaint/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 41759 2011-03-08 20:17:20Z spupykin $ +# $Id: PKGBUILD 47074 2011-05-16 14:01:24Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jon Nordby <jononor@gmail.com> pkgname=mypaint pkgver=0.9.1 -pkgrel=1 +pkgrel=2 pkgdesc="A fast and easy painting application for digital painters, with brush dynamics" arch=('i686' 'x86_64' 'mips64el') url="http://mypaint.intilinux.com/" license=('GPL' 'LGPL') depends=('pygtk' 'python-numpy' 'protobuf-python' 'python2') makedepends=('scons>=0.97' 'swig>=1.3.39') +install=mypaint.install source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('6249a16359a438d6dc658f5765b35515') diff --git a/community/mypaint/mypaint.install b/community/mypaint/mypaint.install new file mode 100644 index 000000000..5f0358791 --- /dev/null +++ b/community/mypaint/mypaint.install @@ -0,0 +1,13 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime + [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + /bin/true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |