summaryrefslogtreecommitdiff
path: root/community/cupsddk/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-24 11:07:35 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-24 11:07:35 -0300
commit8d32e471d53634b308adf93007922a6ccbd2b830 (patch)
tree606fdcd5508936ffdfc7cf510a16b7324c2792e2 /community/cupsddk/PKGBUILD
parent4c9d76f582ae64854e30113e7f7dc621af3db820 (diff)
parent1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/augeas/PKGBUILD community/chmsee/PKGBUILD community/cupsddk/PKGBUILD community/optipng/PKGBUILD community/pcb/PKGBUILD community/taglib-rcc/PKGBUILD community/wmctrl/PKGBUILD extra/c-ares/PKGBUILD multilib/lib32-freetype2/PKGBUILD
Diffstat (limited to 'community/cupsddk/PKGBUILD')
-rw-r--r--community/cupsddk/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/community/cupsddk/PKGBUILD b/community/cupsddk/PKGBUILD
index 661181208..bdb357087 100644
--- a/community/cupsddk/PKGBUILD
+++ b/community/cupsddk/PKGBUILD
@@ -1,3 +1,5 @@
+# $Id: PKGBUILD 59197 2011-11-21 14:56:56Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Georg Grabler (STiAT) <ggrabler@gmail.com>
# Contributor: Georg Grabler (STiAT) <ggrabler@gmail.com>
@@ -6,27 +8,29 @@ pkgver=1.2.3
pkgrel=3
pkgdesc="CUPSD Development Kit"
url="http://cups.org"
-license="GPL"
+license=("GPL")
depends=('libcups')
-makedepends=('libcups')
+makedepends=('libcups' 'cups')
arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
source=(http://ftp.easysw.com/pub/cupsddk/$pkgver/$pkgname-$pkgver-source.tar.bz2)
md5sums=('3ec52813bf12bf9b34d34f8a81bab508')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
- make || return 1
- make bindir=$startdir/pkg/usr/bin \
- datadir=$startdir/pkg/usr/share \
- docdir=$startdir/pkg/usr/share/cupsddk \
- mandir=$startdir/pkg/usr/share/man \
- prefix=$startdir/pkg/usr \
- CUPS_DATADIR=$startdir/pkg/`cups-config --datadir` \
- CUPS_SERVERBIN=$startdir/pkg/`cups-config --serverbin` \
- install || return 1
+ 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