blob: 12a07818cce69bc4e66645ffe6a0a07baf2d8459 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 56207 2011-10-03 12:32:35Z 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=6
pkgdesc="A simple GTK2 painting program designed 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')
install=mtpaint.install
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
"libpng14.patch"
"mtpaint.install")
md5sums=('fbe34eb25f96b6092403115f1f6ab387'
'f84245ae1e26bd734740306b09024bb8'
'1bd546a8efeae01e8fd8a5c7f213012e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/libpng14.patch
./configure --prefix=/usr --mandir=/usr/share/man/man1 man intl gif jpeg tiff
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 COPYING \
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
# vim:set ts=2 sw=2 et:
|