# $Id$ # Maintainer: Alexey Trifonov # Contributor: Alexander F Rødseth # Contributor: Roman Kyrylych # Contributor: yosh64 pkgname=mtpaint-wjaguar pkgver=3.50 pkgrel=1 pkgdesc='Simple paint program for creating icons and pixel based artwork (Dmitry Groshev''s fork)' arch=('x86_64') url='https://github.com/wjaguar/mtPaint' license=('GPL3') depends=('gtk3' 'giflib' 'openjpeg2' 'lcms2' 'libwebp' 'libtiff') optdepends=('gifsicle: for exporting GIF files from mtPaint') provides=('mtpaint') conflicts=('mtpaint') source=("git+https://github.com/wjaguar/mtPaint.git#commit=b0b023ba7ae231415d556ea88b2239fecf693faf") sha256sums=('SKIP') prepare() { cd "mtPaint" # Recommended by Mark Tyler himself sed -i 's:$LIBS $LDFLAGS:$LDFLAGS $LIBS:' configure } build() { cd "mtPaint" ./configure --prefix=/usr --mandir=/usr/share/man man intl GIF jpeg tiff cflags lcms2 jp2v2 webp gtk3 release make } package() { make -C "mtPaint" DESTDIR="$pkgdir" install }