diff options
author | root <root@rshg054.dnsready.net> | 2011-09-11 23:14:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-11 23:14:33 +0000 |
commit | 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch) | |
tree | 4f22b6f4f4737987b4eec85fbc027684f209df2e /community/mtpaint | |
parent | 1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff) |
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'community/mtpaint')
-rw-r--r-- | community/mtpaint/PKGBUILD | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/community/mtpaint/PKGBUILD b/community/mtpaint/PKGBUILD index 770c55e33..bebd0c820 100644 --- a/community/mtpaint/PKGBUILD +++ b/community/mtpaint/PKGBUILD @@ -1,10 +1,12 @@ -# $Id: PKGBUILD 9274 2010-01-24 22:45:51Z foutrelis $ -# Maintainer: Roman Kyrylych <roman@archlinux.org> +# $Id: PKGBUILD 55362 2011-09-10 10:56:06Z pschmitz $ +# Maintainer: +# Contributor: Roman Kyrylych <roman@archlinux.org> # Contributor: yosh64 <yosh64.at.gmail.dot.com> + pkgname=mtpaint pkgver=3.31 -pkgrel=4 +pkgrel=5 pkgdesc="A simple GTK2 painting program designed for creating icons and pixel based artwork." arch=('i686' 'x86_64') url="http://mtpaint.sourceforge.net" @@ -16,10 +18,15 @@ md5sums=('fbe34eb25f96b6092403115f1f6ab387' 'f84245ae1e26bd734740306b09024bb8') build() { - cd "$srcdir/$pkgname-$pkgver" + 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} - 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 + make DESTDIR=${pkgdir} install } |