opt/gimp/Pkgfile
2019-11-10 12:08:54 +11:00

31 lines
830 B
Plaintext

# Description: The GIMP
# URL: http://www.gimp.org/
# Maintainer: Thomas Penteker, tek at serverop dot de
# 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.14
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
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
mv $PKG/usr/share/man/man1/gimp-console{-${version%.*}.1,.1}
rm -r $PKG/usr/share/{gtk-doc,locale}
}