opt/cups-filters/Pkgfile
Juergen Daubert fd686f1c43 [notify] cups-filters: update to 2.0.0
as of version 2.0.0 cups-filters is no longer one port, but
has been split by upstream into 4 different ports:
   cups-filters, libcupsfilters, libppd and cups-browsed.

To avoid file conflicts remove the old cups-filters first.

   prt-get remove cups-filters
   prt-get depinst cups-filters cups-browsed
2023-10-02 14:02:58 +02:00

25 lines
695 B
Plaintext

# Description: Backends and filters for CUPS
# URL: https://github.com/OpenPrinting/cups-filters
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libcupsfilters libppd
# Optional: avahi mupdf poppler
name=cups-filters
version=2.0.0
release=1
source=(https://github.com/OpenPrinting/cups-filters/releases/download/$version/$name-$version.tar.xz)
build() {
cd $name-$version
prt-get isinst avahi || PKGMK_CUPSFILTERS+=' --disable-avahi'
prt-get isinst mupdf || PKGMK_CUPSFILTERS+=' --disable-mutool'
prt-get isinst poppler || PKGMK_CUPSFILTERS+=' --disable-poppler'
./configure $PKGMK_CUPSFILTERS --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
}