diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | _patch.sed | 4 |
3 files changed, 8 insertions, 0 deletions
@@ -60,6 +60,7 @@ pkgname = libcups-gssapi depends = avahi depends = libusb depends = libxcrypt + provides = libcups pkgname = cups-gssapi pkgdesc = The CUPS Printing System - daemon package - with gssapi (kerberos) enabled @@ -77,6 +78,7 @@ pkgname = cups-gssapi optdepends = xdg-utils: xdg .desktop file support optdepends = colord: for ICC color profile support optdepends = logrotate: for logfile rotation support + provides = cups backup = etc/cups/cupsd.conf backup = etc/cups/snmp.conf backup = etc/cups/printers.conf @@ -102,6 +102,7 @@ check() { } package_libcups-gssapi() { +provides=('libcups') pkgdesc="The CUPS Printing System - client libraries and headers - with gssapi (kerberos) enabled" depends=('gnutls' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi' 'libusb' 'libxcrypt') @@ -116,6 +117,7 @@ depends=('gnutls' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi' 'libusb' 'libx } package_cups-gssapi() { +provides=('cups') pkgdesc="The CUPS Printing System - daemon package - with gssapi (kerberos) enabled" install=cups.install backup=(etc/cups/cupsd.conf diff --git a/_patch.sed b/_patch.sed index caf47c076708..5f4c2e6e7a59 100644 --- a/_patch.sed +++ b/_patch.sed @@ -16,5 +16,9 @@ s/.\/configure (.+) \\/.\/configure \1 --with-gssapi \\/ /^pkgbase=/ i pkgdesc="The CUPS Printing System with gssapi (kerberos) enabled" /^pkgbase=/ i conflicts=('libcups' 'cups') +# add provides fields to subpackages +/^package_cups-gssapi\(\)/ a provides=('cups') +/^package_libcups-gssapi\(\)/ a provides=('libcups') + # fix usage of "${pkgbase}" s/\$\{pkgbase\}/cups/g |