### this file is sourced not run
PKGVER=3.49.19
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=mtpaint-$PKGVER.tar.gz
MD5SUM=67214765bcabc889ccab38495dcf16aa
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ='freetype2 lcms2 giflib libjpeg-turbo libopenjpeg libtiff gifsicle'
SLACKDESC="mtpaint: mtpaint $PKGVER (Paint program)
mtpaint:  
mtpaint: mtPaint is a painting program which Mark Tyler developed from scratch 
mtpaint: so he could easily create pixel art and manipulate digital photos. It 
mtpaint: uses the GTK+ toolkit (version 1 or 2) and runs on PCs via the 
mtpaint: GNU/Linux or Windows operating systems. Due to its efficient design 
mtpaint: it can run on older PC hardware (e.g. a 200MHz CPU and 16MB of free 
mtpaint: RAM).  
mtpaint: 
mtpaint: 
mtpaint:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/mtPaint*
	./configure release intl man --prefix=/usr &&
	make $MAKEFLAGS && make $MAKEINSTALLFLAGS install &&
	pkg_build_slackdesc &&

	# Custom Fatdog desktop file
	sed -i -e 's|^Categories=.*|Categories=Graphics;|' /usr/share/applications/mtpaint.desktop
}


