updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / canon-cque / PKGBUILD
blob1b9c3b6719e0bf384eb0d1f3f31befbc5048e9b0
1 # Maintainer: danilo <gezuru *at* gmail *dot* com>
2 pkgname=canon-cque
3 pkgver=2.0.0
4 pkgrel=1
5 pkgdesc='Canon CQue printing driver (PPDs and sicgsfilter only!)'
6 arch=(i686 x86_64)
7 url='http://software.canon-europe.com/products/0010871.asp'
8 license=('custom')
9 depends=('cups' 'foomatic-filters')
10 optdepends=('samba: printing via windows/smb shares')
11 source=(http://files.canon-europe.com/files/soft40171/software/g10C5enx.zip)
12 md5sums=('660307e50f9f923df7f9e6c77062928b')
14 build() {
15     cd $srcdir
16     if [ $arch != 'i686' ]; then
17         tar xfz cque-en-2.0-0.$arch.tar.gz
18     else
19         tar xfz cque-en-2.0-0.tar.gz
20     fi
23 package() {
24     mkdir -p $pkgdir/usr/local/share/ppd/canon/ $pkgdir/usr/bin
25     cp $srcdir/cque-en-2.0-0/ppd/* $pkgdir/usr/local/share/ppd/canon/
26     cp $srcdir/cque-en-2.0-0/sicgsfilter $pkgdir/usr/bin/
27     install -D -m644 $startdir/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"