opt/gimp/Pkgfile

30 lines
817 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: gegl glib-networking gtk libart_lgpl mypaint-brushes poppler-data poppler-glib xorg-libxmu xorg-libxpm
# Optional: gimp-print libsdl ghostscript libmng
name=gimp
version=2.10.12
release=1
source=(https://download.gimp.org/pub/gimp/v${version%.*}/gimp-$version.tar.bz2)
build() {
cd gimp-$version
sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
./configure --prefix=/usr \
--libexecdir=/usr/bin \
--disable-static \
--disable-python \
--disable-nls \
--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}
}