[arch-commits] Commit in cups/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sat Aug 24 17:07:19 UTC 2019


    Date: Saturday, August 24, 2019 @ 17:07:18
  Author: andyrtr
Revision: 360883

upgpkg: cups 2.3.0-2

fix license and ship exception

Modified:
  cups/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-24 17:06:44 UTC (rev 360882)
+++ PKGBUILD	2019-08-24 17:07:18 UTC (rev 360883)
@@ -3,9 +3,9 @@
 pkgbase="cups"
 pkgname=('libcups' 'cups')
 pkgver=2.3.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
-license=('GPL')
+license=('Apache' 'custom')
 url="https://www.cups.org/"
 makedepends=('libtiff' 'libpng' 'acl' 'pam' 'xdg-utils' 'krb5' 'gnutls'
              'cups-filters' 'bc' 'colord' 'xinetd' 'gzip' 'autoconf' 'libusb' 'dbus'
@@ -101,6 +101,9 @@
   # put this into the libs pkg to make other software find the libs(no pkg-config file included)
   mkdir -p ${pkgdir}/usr/bin
   install -m755 ${srcdir}/${pkgbase}-${pkgver}/cups-config ${pkgdir}/usr/bin/cups-config
+
+  # add license + exception
+  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" {LICENSE,NOTICE}
 }
 
 package_cups() {



More information about the arch-commits mailing list