summaryrefslogtreecommitdiff
path: root/hpcups/Pkgfile
blob: 2d99ac3c8f86da5e29aeb9aa8b236d9143d46c03 (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.21.12
    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 \
   15 		--prefix=/usr \
   16 		--enable-hpcups-only-build \
   17 		--enable-hpcups-install \
   18 		--with-hpppddir=/usr/share/cups/model/HP \
   19 		--disable-{doc,network}-build
   20 
   21 	make
   22 	make DESTDIR=$PKG install
   23 
   24 	# https://bugs.archlinux.org/task/59548
   25 	install prnt/hpcups/libImageProcessor-x86_64.so $PKG/usr/lib
   26 	ln -s libImageProcessor-x86_64.so $PKG/usr/lib/libImageProcessor.so
   27 
   28 	rm -r $PKG/usr/share/doc
   29 }

Generated by cgit