mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/cups to 2.4.2-5
This commit is contained in:
parent
9c8c9e5318
commit
5652297a84
1 changed files with 16 additions and 15 deletions
|
@ -6,16 +6,15 @@
|
|||
pkgbase="cups"
|
||||
pkgname=('libcups' 'cups')
|
||||
pkgver=2.4.2
|
||||
pkgrel=3
|
||||
pkgrel=5
|
||||
epoch=1
|
||||
arch=('x86_64')
|
||||
options=(!distcc)
|
||||
license=('Apache' 'custom')
|
||||
url="https://openprinting.github.io/cups/"
|
||||
options=(!distcc)
|
||||
makedepends=('libtiff' 'libpng' 'acl' 'pam' 'xdg-utils' 'krb5' 'gnutls'
|
||||
'cups-filters' 'bc' 'colord' 'gzip' 'autoconf' 'libusb' 'dbus'
|
||||
'avahi' 'hicolor-icon-theme' 'systemd' 'libxcrypt' 'inetutils' 'libpaper' 'valgrind'
|
||||
'git')
|
||||
makedepends=('acl' 'pam' 'gnutls' 'cups-filters' 'colord'
|
||||
'libusb' 'avahi' 'systemd' 'libpaper')
|
||||
#checkdepends=('valgrind')
|
||||
source=(https://github.com/OpenPrinting/cups/releases/download/v${pkgver}/cups-${pkgver}-source.tar.gz{,.sig}
|
||||
cups.logrotate
|
||||
cups.pam
|
||||
|
@ -95,15 +94,16 @@ build() {
|
|||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgbase}"-${pkgver}
|
||||
# make -k check || /bin/true
|
||||
# don't run tests - they take ages
|
||||
#check() {
|
||||
# cd "${pkgbase}"-${pkgver}
|
||||
## make -k check || /bin/true
|
||||
# make check
|
||||
}
|
||||
#}
|
||||
|
||||
package_libcups() {
|
||||
pkgdesc="The CUPS Printing System - client libraries and headers"
|
||||
depends=('gnutls' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi' 'libusb' 'libxcrypt')
|
||||
pkgdesc="OpenPrinting CUPS - client libraries and headers"
|
||||
depends=('gnutls' 'avahi')
|
||||
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make BUILDROOT="${pkgdir}" install-headers install-libs
|
||||
|
@ -116,7 +116,7 @@ depends=('gnutls' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi' 'libusb' 'libx
|
|||
}
|
||||
|
||||
package_cups() {
|
||||
pkgdesc="The CUPS Printing System - daemon package"
|
||||
pkgdesc="OpenPrinting CUPS - daemon package"
|
||||
install=cups.install
|
||||
backup=(etc/cups/cupsd.conf
|
||||
etc/cups/snmp.conf
|
||||
|
@ -126,9 +126,10 @@ backup=(etc/cups/cupsd.conf
|
|||
etc/cups/subscriptions.conf
|
||||
etc/logrotate.d/cups
|
||||
etc/pam.d/cups)
|
||||
depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters' 'bc'
|
||||
depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters'
|
||||
'dbus' 'systemd' 'libpaper' 'hicolor-icon-theme')
|
||||
optdepends=('ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections'
|
||||
optdepends=('libusb: for usb printer backend'
|
||||
'ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections'
|
||||
'xdg-utils: xdg .desktop file support'
|
||||
'colord: for ICC color profile support'
|
||||
'logrotate: for logfile rotation support')
|
||||
|
|
Loading…
Reference in a new issue