[arch-commits] Commit in cups-pdf/repos (6 files)

Andreas Radke andyrtr at nymeria.archlinux.org
Fri Oct 11 15:59:44 UTC 2013


    Date: Friday, October 11, 2013 @ 17:59:44
  Author: andyrtr
Revision: 196337

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cups-pdf/repos/testing-i686/
  cups-pdf/repos/testing-i686/PKGBUILD
    (from rev 196336, cups-pdf/trunk/PKGBUILD)
  cups-pdf/repos/testing-i686/cups-pdf.install
    (from rev 196336, cups-pdf/trunk/cups-pdf.install)
  cups-pdf/repos/testing-x86_64/
  cups-pdf/repos/testing-x86_64/PKGBUILD
    (from rev 196336, cups-pdf/trunk/PKGBUILD)
  cups-pdf/repos/testing-x86_64/cups-pdf.install
    (from rev 196336, cups-pdf/trunk/cups-pdf.install)

---------------------------------+
 testing-i686/PKGBUILD           |   37 +++++++++++++++++++++++++++++++++++++
 testing-i686/cups-pdf.install   |   16 ++++++++++++++++
 testing-x86_64/PKGBUILD         |   37 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/cups-pdf.install |   16 ++++++++++++++++
 4 files changed, 106 insertions(+)

Copied: cups-pdf/repos/testing-i686/PKGBUILD (from rev 196336, cups-pdf/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-10-11 15:59:44 UTC (rev 196337)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Thomas Baechler <thomas.baechler at rwth-aachen.de>
+
+pkgname=cups-pdf
+pkgver=2.6.1
+pkgrel=2
+pkgdesc="PDF printer for cups"
+arch=(i686 x86_64)
+depends=('cups' 'ghostscript')
+install=cups-pdf.install
+url="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
+license=('GPL2')
+source=(http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_$pkgver.tar.gz)
+backup=(etc/cups/cups-pdf.conf)
+md5sums=('65f3fd525c4a9b1d736b91594b3166d5')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver/src
+  [ -z "$CC" ] && CC=gcc
+  $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver/src
+  install -D -m700 cups-pdf $pkgdir/usr/lib/cups/backend/cups-pdf
+
+  # Install Postscript Color printer
+  cd ../extra
+  install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd
+
+  # Install config file
+  install -D -m644 cups-pdf.conf $pkgdir/etc/cups/cups-pdf.conf
+  
+  # use lp group from cups pkg FS#36769
+  chgrp -R lp ${pkgdir}/etc/cups
+}

Copied: cups-pdf/repos/testing-i686/cups-pdf.install (from rev 196336, cups-pdf/trunk/cups-pdf.install)
===================================================================
--- testing-i686/cups-pdf.install	                        (rev 0)
+++ testing-i686/cups-pdf.install	2013-10-11 15:59:44 UTC (rev 196337)
@@ -0,0 +1,16 @@
+post_install() {
+  cat << "EOF"
+-------------------------------------------------
+To use cups-pdf, restart cups and visit the cups
+web interface at http://localhost:631/
+
+You can now add a "Virtual Printer (PDF Printer)"
+and use the Postscript/Generic postscript color
+printer driver.
+
+Note that cups-pdf has a configuration
+file in /etc/cups. The default location for
+pdf output is /var/spool/cups-pdf/$username.
+-------------------------------------------------
+EOF
+}

Copied: cups-pdf/repos/testing-x86_64/PKGBUILD (from rev 196336, cups-pdf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-10-11 15:59:44 UTC (rev 196337)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Thomas Baechler <thomas.baechler at rwth-aachen.de>
+
+pkgname=cups-pdf
+pkgver=2.6.1
+pkgrel=2
+pkgdesc="PDF printer for cups"
+arch=(i686 x86_64)
+depends=('cups' 'ghostscript')
+install=cups-pdf.install
+url="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
+license=('GPL2')
+source=(http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_$pkgver.tar.gz)
+backup=(etc/cups/cups-pdf.conf)
+md5sums=('65f3fd525c4a9b1d736b91594b3166d5')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver/src
+  [ -z "$CC" ] && CC=gcc
+  $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver/src
+  install -D -m700 cups-pdf $pkgdir/usr/lib/cups/backend/cups-pdf
+
+  # Install Postscript Color printer
+  cd ../extra
+  install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd
+
+  # Install config file
+  install -D -m644 cups-pdf.conf $pkgdir/etc/cups/cups-pdf.conf
+  
+  # use lp group from cups pkg FS#36769
+  chgrp -R lp ${pkgdir}/etc/cups
+}

Copied: cups-pdf/repos/testing-x86_64/cups-pdf.install (from rev 196336, cups-pdf/trunk/cups-pdf.install)
===================================================================
--- testing-x86_64/cups-pdf.install	                        (rev 0)
+++ testing-x86_64/cups-pdf.install	2013-10-11 15:59:44 UTC (rev 196337)
@@ -0,0 +1,16 @@
+post_install() {
+  cat << "EOF"
+-------------------------------------------------
+To use cups-pdf, restart cups and visit the cups
+web interface at http://localhost:631/
+
+You can now add a "Virtual Printer (PDF Printer)"
+and use the Postscript/Generic postscript color
+printer driver.
+
+Note that cups-pdf has a configuration
+file in /etc/cups. The default location for
+pdf output is /var/spool/cups-pdf/$username.
+-------------------------------------------------
+EOF
+}




More information about the arch-commits mailing list