opt/cups-filters/Pkgfile

34 lines
776 B
Plaintext

# Description: Backends and filters for CUPS
# URL: https://openprinting.github.io/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ghostscript libexif mupdf poppler qpdf xorg-font-dejavu-ttf
name=cups-filters
version=1.28.17
release=1
source=(https://github.com/OpenPrinting/cups-filters/releases/download/$version/$name-$version.tar.xz
cups-browsed)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--runstatedir=/run \
--with-cups-rundir=/run/cups \
--without-php \
--disable-avahi \
--disable-dbus \
--disable-braille \
--without-rcdir \
--with-browseremoteprotocols=cups
make
make DESTDIR=$PKG install
install -D -m 0755 $SRC/cups-browsed $PKG/etc/rc.d/cups-browsed
rm -r $PKG/usr/share/doc
}