opt/gimp/Pkgfile
2018-09-09 02:08:29 +02:00

30 lines
825 B
Plaintext

# Description: The GIMP
# URL: http://www.gimp.org/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Simone Rota, sip at crux dot nu
# Depends on: libart_lgpl, xorg-libxmu, xorg-libxpm, gegl, librsvg, gexiv2, libmypaint, mypaint-brushes, poppler-glib, poppler-data
# Nice to have: gimp-print, libsdl, ghostscript, libmng
name=gimp
version=2.10.6
release=1
source=(http://ftp.gimp.org/pub/gimp/v${version%.*}/gimp-$version.tar.bz2 cve-2013-1913)
build() {
cd gimp-$version
patch -p1 -i ../cve-2013-1913
sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
./configure --prefix=/usr \
--disable-static \
--disable-python \
--disable-nls \
--without-gexiv2 \
--without-webkit LIBS="-lm"
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/{gtk-doc,locale}
}