summaryrefslogtreecommitdiff
path: root/community/cupsddk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cupsddk/PKGBUILD')
-rw-r--r--community/cupsddk/PKGBUILD51
1 files changed, 0 insertions, 51 deletions
diff --git a/community/cupsddk/PKGBUILD b/community/cupsddk/PKGBUILD
deleted file mode 100644
index d8bb0d7e8..000000000
--- a/community/cupsddk/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: PKGBUILD 65096 2012-02-20 03:38:12Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Georg Grabler (STiAT) <ggrabler@gmail.com>
-# Contributor: Georg Grabler (STiAT) <ggrabler@gmail.com>
-
-pkgname=cupsddk
-pkgver=1.2.3
-pkgrel=4
-pkgdesc="CUPSD Development Kit"
-url="http://cups.org"
-license=("GPL")
-depends=('libcups')
-makedepends=('libcups' 'cups')
-arch=('i686' 'x86_64')
-options=('!emptydirs')
-source=(http://ftp.easysw.com/pub/cupsddk/$pkgver/$pkgname-$pkgver-source.tar.bz2)
-md5sums=('3ec52813bf12bf9b34d34f8a81bab508')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
-
- ./configure --prefix=/usr
- sed -i '1,1i#include <cups/ppd.h>' ppdc/ppdmerge.cxx
- sed -i 's|mkdir images|mkdir -p images|' cups/Makefile*
- make
- make bindir=$pkgdir/usr/bin \
- datadir=$pkgdir/usr/share \
- docdir=$pkgdir/usr/share/cupsddk \
- mandir=$pkgdir/usr/share/man \
- prefix=$pkgdir/usr \
- CUPS_DATADIR=$pkgdir/`cups-config --datadir` \
- CUPS_SERVERBIN=$pkgdir/`cups-config --serverbin` \
- install
-
- rm -f $pkgdir/usr/include/cups/driver.h
- rm -f $pkgdir/usr/bin/ppdc
- rm -f $pkgdir/usr/bin/ppdhtml
- rm -f $pkgdir/usr/bin/ppdi
- rm -f $pkgdir/usr/bin/ppdmerge
- rm -f $pkgdir/usr/bin/ppdpo
- rm -f $pkgdir/usr/lib/cups/filter/commandtoescpx
- rm -f $pkgdir/usr/lib/cups/filter/commandtopclx
- rm -f $pkgdir/usr/lib/cups/filter/rastertoescpx
- rm -f $pkgdir/usr/lib/cups/filter/rastertopclx
- rm -f $pkgdir/usr/share/man/man1/ppdc.1.gz
- rm -f $pkgdir/usr/share/man/man1/ppdhtml.1.gz
- rm -f $pkgdir/usr/share/man/man1/ppdi.1.gz
- rm -f $pkgdir/usr/share/man/man1/ppdmerge.1.gz
- rm -f $pkgdir/usr/share/man/man1/ppdpo.1.gz
- rm -f $pkgdir/usr/share/man/man5/ppdcfile.5.gz
-}