blob: c7d2da614706734e080590a2fc15596b490cc5e1 (
plain)
1 # Description: Ghostscript add-on for HP inkjet/laserjet printers
2 # URL: https://sourceforge.net/projects/hplip/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: cups libjpeg-turbo
5
6 name=hpcups
7 version=3.19.11
8 release=1
9 source=(http://downloads.sourceforge.net/project/hplip/hplip/$version/hplip-$version.tar.gz)
10
11 build () {
12 cd hplip-$version
13
14 ./configure --prefix=/usr \
15 --enable-hpcups-only-build \
16 --enable-hpcups-install \
17 --with-hpppddir=/usr/share/cups/model/HP \
18 --disable-{doc,network}-build
19
20 make
21 make DESTDIR=$PKG install
22
23 # https://bugs.archlinux.org/task/59548
24 install prnt/hpcups/libImageProcessor-x86_64.so $PKG/usr/lib
25 ln -s libImageProcessor-x86_64.so $PKG/usr/lib/libImageProcessor.so
26
27 rm -r $PKG/usr/share/doc
28 }
|