summaryrefslogtreecommitdiff
path: root/community/mtpaint
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-02 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2012-01-02 23:14:48 +0000
commit48c96871761a4aad193d814e87ddb87c322e17d2 (patch)
tree60a798c3bbdef2ba8f51c6719e80b5552a9fb6d4 /community/mtpaint
parent29f5aa692a3fa3ff3e743a47d1c57f1cc0341809 (diff)
Mon Jan 2 23:14:48 UTC 2012
Diffstat (limited to 'community/mtpaint')
-rw-r--r--community/mtpaint/PKGBUILD19
-rw-r--r--community/mtpaint/mtpaint.install9
2 files changed, 13 insertions, 15 deletions
diff --git a/community/mtpaint/PKGBUILD b/community/mtpaint/PKGBUILD
index cae6deaeb..2aacb7fff 100644
--- a/community/mtpaint/PKGBUILD
+++ b/community/mtpaint/PKGBUILD
@@ -1,28 +1,27 @@
-# $Id: PKGBUILD 59671 2011-11-29 09:34:27Z arodseth $
+# $Id: PKGBUILD 61499 2012-01-02 02:35:06Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: yosh64 <yosh64.at.gmail.dot.com>
pkgname=mtpaint
-pkgver=3.31
-pkgrel=7
-pkgdesc="A simple GTK2 painting program designed for creating icons and pixel based artwork"
+pkgver=3.40
+pkgrel=1
+pkgdesc="Simple GTK2 paint program for creating icons and pixel based artwork"
arch=('x86_64' 'i686')
url="http://mtpaint.sourceforge.net/"
license=('GPL3')
-depends=('gtk2' 'giflib' 'openjpeg' 'bzip2' 'desktop-file-utils' 'glib2' 'freetype2')
+depends=('gtk2' 'giflib' 'openjpeg' 'desktop-file-utils' 'lcms2')
install=mtpaint.install
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
- "libpng14.patch"
- "mtpaint.install")
-md5sums=('fbe34eb25f96b6092403115f1f6ab387'
- 'f84245ae1e26bd734740306b09024bb8'
- '1bd546a8efeae01e8fd8a5c7f213012e')
+ "libpng14.patch")
+sha256sums=('ef321d2b404839c7b909bdf5283eb22a37fbdd35b4cc9e380ddc400573d7c890'
+ 'be51d45d1146d6c61d1c2c12d1712134da5048dd7314e2741ff336cac6838de3')
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i "$srcdir/libpng14.patch"
./configure --prefix=/usr --mandir=/usr/share/man/man1 man intl gif jpeg tiff
+ sed -i 's:-lpng:-lpng -lgif:' _conf.txt
make
}
diff --git a/community/mtpaint/mtpaint.install b/community/mtpaint/mtpaint.install
index b44de11aa..99a538dea 100644
--- a/community/mtpaint/mtpaint.install
+++ b/community/mtpaint/mtpaint.install
@@ -1,12 +1,11 @@
-post_install() {
- post_upgrade
-}
-
post_upgrade() {
- echo "Updating desktop database"
update-desktop-database -q
}
+post_install() {
+ post_upgrade
+}
+
post_remove() {
post_upgrade
}