diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-01 21:29:17 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-01 21:29:17 -0300 |
commit | 5a1b7efd1dfd0d0a1f4a7a4b68ea7b69f06aa6d1 (patch) | |
tree | f2d8419cf544c9c1980e49a5a94f19252e17d4e7 /extra/cups-pdf | |
parent | 02380099f9ca13810767a2d25742c6862e255852 (diff) | |
parent | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/clementine/PKGBUILD
community/google-gadgets/PKGBUILD
community/redis/PKGBUILD
community/uzbl/PKGBUILD
extra/anjuta/PKGBUILD
extra/atkmm/PKGBUILD
extra/ekiga/PKGBUILD
extra/epiphany/PKGBUILD
extra/evolution-data-server/PKGBUILD
extra/gdl/PKGBUILD
extra/glade/PKGBUILD
extra/glibmm/PKGBUILD
extra/gnome-control-center/PKGBUILD
extra/gnome-desktop/PKGBUILD
extra/gnome-menus/PKGBUILD
extra/gnome-nettool/PKGBUILD
extra/gnome-panel/PKGBUILD
extra/gnome-sharp/PKGBUILD
extra/gtk2/PKGBUILD
extra/gtkmm/PKGBUILD
extra/libchamplain/PKGBUILD
extra/libgda/PKGBUILD
extra/libotr/PKGBUILD
extra/libvncserver/PKGBUILD
extra/libwebkit/PKGBUILD
extra/notification-daemon/PKGBUILD
extra/pangomm/PKGBUILD
extra/pidgin/PKGBUILD
extra/pygobject/PKGBUILD
extra/rasqal/PKGBUILD
extra/redland/PKGBUILD
extra/vte/PKGBUILD
extra/xarchiver/PKGBUILD
extra/yelp/PKGBUILD
testing/gnome-control-center/PKGBUILD
testing/mesa/PKGBUILD
testing/rasqal/PKGBUILD
testing/redland/PKGBUILD
Diffstat (limited to 'extra/cups-pdf')
-rw-r--r-- | extra/cups-pdf/PKGBUILD | 19 | ||||
-rw-r--r-- | extra/cups-pdf/cups-pdf.install | 4 |
2 files changed, 11 insertions, 12 deletions
diff --git a/extra/cups-pdf/PKGBUILD b/extra/cups-pdf/PKGBUILD index a65f7a359..86185ab06 100644 --- a/extra/cups-pdf/PKGBUILD +++ b/extra/cups-pdf/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 30278 2009-03-18 07:31:03Z andyrtr $ +# $Id: PKGBUILD 121266 2011-04-29 22:22:36Z andyrtr $ # Maintainer: Andreas Radke <andyrtr at archlinux.org> # Contributor: Thomas Baechler <thomas.baechler@rwth-aachen.de> pkgname=cups-pdf -pkgver=2.5.0 +pkgver=2.5.1 pkgrel=1 pkgdesc="PDF printer for cups" arch=(i686 x86_64 'mips64el') @@ -13,19 +13,22 @@ 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=('9194af099a8c0e9aa213505b29ec6818') +md5sums=('4b4cf1a249d02a38045db74b5f259aac') build() { - # Build and install cd $srcdir/$pkgname-$pkgver/src [ -z "$CC" ] && CC=gcc - $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c || return 1 - install -D -m700 cups-pdf $pkgdir/usr/lib/cups/backend/cups-pdf || return 1 + $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 || return 1 + install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd # Install config file - install -D -m644 cups-pdf.conf $startdir/pkg/etc/cups/cups-pdf.conf || return 1 + install -D -m644 cups-pdf.conf $pkgdir/etc/cups/cups-pdf.conf } diff --git a/extra/cups-pdf/cups-pdf.install b/extra/cups-pdf/cups-pdf.install index 0ef82189a..7df03c811 100644 --- a/extra/cups-pdf/cups-pdf.install +++ b/extra/cups-pdf/cups-pdf.install @@ -14,7 +14,3 @@ pdf output is /var/spool/cups-pdf/$username. ------------------------------------------------- EOF } - -op=$1 -shift -$op $* |