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

Andreas Radke andyrtr at archlinux.org
Sat Apr 16 08:31:40 UTC 2016


    Date: Saturday, April 16, 2016 @ 10:31:40
  Author: andyrtr
Revision: 265042

upgpkg: foomatic-db 3:20160416-1

use gutenprint-ijs-simplified.5.2 for gutenprint drivers - fixes FS#44430?; ship Kyocera doc file

Modified:
  foomatic-db/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-16 07:18:53 UTC (rev 265041)
+++ PKGBUILD	2016-04-16 08:31:40 UTC (rev 265042)
@@ -4,7 +4,7 @@
 pkgbase="foomatic-db"
 pkgname=('foomatic-db' 'foomatic-db-ppds' 'foomatic-db-nonfree' 'foomatic-db-nonfree-ppds')
 arch=('any')
-pkgver=20160415
+pkgver=20160416
 pkgrel=1
 epoch=3
 
@@ -28,6 +28,10 @@
 prepare(){
   cp -a foomatic-db foomatic-db-ppds
   cp -a foomatic-db-nonfree foomatic-db-nonfree-ppds
+  
+  # for gutenprint printers, use gutenprint-ijs-simplified.5.2.
+  perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.2<,' foomatic-db/db/source/printer/*.xml
+  perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.2<,' foomatic-db-ppds/db/source/printer/*.xml
 }
 
 build() {
@@ -68,13 +72,14 @@
    cd ${srcdir}/foomatic-db
    make DESTDIR=${pkgdir} install
    
-   # remove files from foomatic-db-ppds pkg
-   rm -rf ${pkgdir}/usr/share/cups/model/foomatic-db-ppds
-   rm -rf ${pkgdir}/usr/share/foomatic/db/source/PPD
    # add some docs
    install -Dm644 USAGE ${pkgdir}/usr/share/doc/${pkgname}/USAGE
    install -Dm644 README ${pkgdir}/usr/share/doc/${pkgname}/README
    install -v -Dm644 ${srcdir}/${pkgname}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+   install -Dm644 ${pkgdir}/usr/share/foomatic/db/source/PPD/Kyocera/ReadMe.htm ${pkgdir}/usr/share/doc/${pkgname}/Kyocera/ReadMe.htm
+   # remove files from foomatic-db-ppds pkg
+   rm -rf ${pkgdir}/usr/share/cups/model/foomatic-db-ppds
+   rm -rf ${pkgdir}/usr/share/foomatic/db/source/PPD
 }
 
 package_foomatic-db-ppds() {



More information about the arch-commits mailing list