opt/gimp/Pkgfile

35 lines
927 B
Plaintext
Raw Normal View History

2009-10-08 21:19:37 +02:00
# Description: The GIMP
2021-01-29 12:56:44 +01:00
# URL: https://www.gimp.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
2021-02-20 18:30:54 +01:00
# Depends on: gegl glib-networking gtk gtk3 libart_lgpl mypaint-brushes poppler-data xorg-libxmu xorg-libxpm
# Optional: ghostscript gimp-print libmng libsdl
2009-10-08 21:19:37 +02:00
name=gimp
2021-09-08 09:30:16 +02:00
version=2.10.26
2020-07-06 11:29:29 +02:00
release=1
2021-02-20 18:30:54 +01:00
source=(https://download.gimp.org/pub/gimp/v${version%.*}/$name-$version.tar.bz2
0001-no-check-update.patch)
2009-10-08 21:19:37 +02:00
build() {
cd $name-$version
2021-02-20 18:30:54 +01:00
patch -Np1 -i $SRC/0001-no-check-update.patch
2009-10-08 21:19:37 +02:00
sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
2021-02-20 18:30:54 +01:00
2009-10-08 21:19:37 +02:00
./configure --prefix=/usr \
--libexecdir=/usr/bin \
2021-02-20 18:30:54 +01:00
--with-bug-report-url=https://crux.nu/bugs \
--enable-mp \
2009-10-08 21:19:37 +02:00
--disable-static \
--disable-python \
--disable-nls \
2021-02-20 18:30:54 +01:00
--disable-check-update \
--without-webkit
2015-12-06 21:03:30 +01:00
2009-10-08 21:19:37 +02:00
make
make DESTDIR=$PKG install
mv $PKG/usr/share/man/man1/gimp-console{-${version%.*}.1,.1}
rm -r $PKG/usr/share/{gtk-doc,locale}
2009-10-08 21:19:37 +02:00
}