cruxports/mtpaint/Pkgfile

23 lines
655 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# Description: simple GTK+1/2/3 painting program
# URL: http://mtpaint.sourceforge.net/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: gtk3 desktop-file-utils freetype giflib lcms2 libjpeg-turbo openjpeg2 libpng libtiff
# Nice to have: libungif
name=mtpaint
version=3.50
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
build() {
cd $name-$version
# recommended by Mark Tyler himself
sed -i 's:$LIBS $LDFLAGS:$LDFLAGS $LIBS:' configure
./configure --prefix=/usr gtk3 GIF jpeg tiff lcms2 cflags man jp2v2 webp release
make
make DESTDIR=$PKG install
}