summaryrefslogtreecommitdiff
path: root/community/mtpaint/PKGBUILD
blob: 770c55e3376154d203118e2c3f2d082b2d43eadf (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
# $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
}