contrib/gimp/Pkgfile

35 lines
927 B
Plaintext

# Description: The GIMP
# URL: https://www.gimp.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gegl glib-networking gtk gtk3 libart_lgpl mypaint-brushes poppler-data xorg-libxmu xorg-libxpm
# Optional: ghostscript gimp-print libmng libsdl
name=gimp
version=2.10.34
release=1
source=(https://download.gimp.org/pub/gimp/v${version%.*}/$name-$version.tar.bz2
0001-no-check-update.patch)
build() {
cd $name-$version
patch -Np1 -i $SRC/0001-no-check-update.patch
sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
./configure --prefix=/usr \
--libexecdir=/usr/bin \
--with-bug-report-url=https://crux.nu/bugs \
--enable-mp \
--disable-static \
--disable-python \
--disable-nls \
--disable-check-update \
--without-webkit
make
make DESTDIR=$PKG install
mv $PKG/usr/share/man/man1/gimp-console{-${version%.*}.1,.1}
rm -r $PKG/usr/share/{gtk-doc,locale}
}