libcupsfilters: update spkgbuild

This commit is contained in:
Luis
2023-10-30 11:39:25 +00:00
parent d329a3f43e
commit 73c612fd09
2 changed files with 5 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
libcupsfilters-2.0.0-1
libcupsfilters-2.0.0-2
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/cupsfilters/

View File

@@ -1,10 +1,10 @@
# description : Code of the filters of the former cups-filters package as library functions
# homepage : https://github.com/OpenPrinting/libcupsfilters
# depends : cups fontconfig ghostscript lcms2 qpdf
# depends : cups ghostscript lcms2 poppler qpdf
name=libcupsfilters
version=2.0.0
release=1
release=2
source="https://github.com/OpenPrinting/libcupsfilters/releases/download/$version/$name-$version.tar.xz"
build() {
@@ -12,10 +12,9 @@ build() {
scratch isinstalled dbus || OPTDBUS=' --disable-dbus'
scratch isinstalled libexif || OPTEXIF=' --disable-exif'
scratch isinstalled mupdf || OPTMU=' --disable-mutool'
scratch isinstalled poppler || OPTPO=' --disable-poppler'
scratch isinstalled mupdf || OPTMUP=' --disable-mutool'
./configure --prefix=/usr $OPTDBUS $OPTEXIF $OPTMU $OPTPO
./configure --prefix=/usr $OPTDBUS $OPTEXIF $OPTMUP
make
make DESTDIR=$PKG install