summaryrefslogtreecommitdiff
path: root/community/mtpaint/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mtpaint/PKGBUILD')
-rw-r--r--community/mtpaint/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/mtpaint/PKGBUILD b/community/mtpaint/PKGBUILD
new file mode 100644
index 000000000..770c55e33
--- /dev/null
+++ b/community/mtpaint/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 9274 2010-01-24 22:45:51Z foutrelis $
+# Maintainer: Roman Kyrylych <roman@archlinux.org>
+# Contributor: yosh64 <yosh64.at.gmail.dot.com>
+
+pkgname=mtpaint
+pkgver=3.31
+pkgrel=4
+pkgdesc="A simple GTK2 painting program designed for creating icons and pixel based artwork."
+arch=('i686' 'x86_64')
+url="http://mtpaint.sourceforge.net"
+license=('GPL')
+depends=('gtk2' 'giflib' 'openjpeg')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+ libpng14.patch)
+md5sums=('fbe34eb25f96b6092403115f1f6ab387'
+ 'f84245ae1e26bd734740306b09024bb8')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/libpng14.patch" || return 1
+ ./configure --prefix=/usr --mandir=/usr/share/man/man1 man intl gif jpeg tiff
+ make || return 1
+ make DESTDIR=$pkgdir install
+}