blob: fde182037e29a6548be70868b159b5f7bd1dd7fc (
plain)
1 # Description: Print plugin for gimp
2 # URL: http://gimp-print.sourceforge.net/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: gimp gutenprint
5
6 name=gutenprint-gimp
7 version=5.3.4
8 release=1
9 source=(http://downloads.sourceforge.net/project/gimp-print/gutenprint-5.3/$version/gutenprint-$version.tar.xz)
10
11 build () {
12 cd gutenprint-$version
13
14 CONFIG_SHELL=/bin/bash \
15 ./configure --prefix=/usr \
16 --disable-{nls,samples,escputil} \
17 --without-{foomatic,ghostscript,doc} \
18 --enable-libgutenprintui2 \
19 --with-gimp2
20 make
21 make DESTDIR=$PKG install
22
23 rm $PKG/usr/lib/libgutenprint.*
24 rm $PKG/usr/lib/pkgconfig/gutenprint.pc
25 rm -r $PKG/usr/include/gutenprint
26 rm -r $PKG/usr/lib/gutenprint
27 rm -r $PKG/usr/lib/cups
28 rm -r $PKG/usr/{bin,sbin,share} $PKG/etc
29 }
|