updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / canon-pixma-mx870-complete / PKGBUILD
blob860b790b369261ae441c38412d3ca22d63dd22a1
1 # Maintainer:  Jeremy Sands <cto@jeremysands.com>
3 pkgname=canon-pixma-mx870-complete
4 pkgver=3.30
5 pkgrel=1
6 pkgdesc="Complete stand alone driver set (printing and scanning) for Canon Pixma MX870"
7 url="http://support-sg.canon-asia.com/contents/SG/EN/0100272302.html"
8 arch=('i686' 'x86_64')
9 license=('custom')
10 if [ ${CARCH} = 'x86_64' ]; then
11   depends=('lib32-libcups' 'lib32-popt' 'lib32-libpng12' 'lib32-libusb-compat' 'lib32-libtiff4')
12 elif [ ${CARCH} = 'i686' ]; then
13   depends=('libcups' 'popt' 'libpng12' 'libusb-compat' 'libtiff4')
15 makedepends=('deb2targz')
16 source=('http://gdlp01.c-wss.com/gds/3/0100002723/01/cnijfilter-mx870series-3.30-1-i386-deb.tar.gz'
17         'http://gdlp01.c-wss.com/gds/0/0100002730/01/scangearmp-mx870series-1.50-1-i386-deb.tar.gz')
18 md5sums=('2aae1637d5f4c1bf10095fb5473f18c2'
19         'e77cec72a640d1b350c53e483f8792dc')
21 build(){
22   cd ${srcdir}/cnijfilter-mx870series-3.30-1-i386-deb/packages/
23   install cnijfilter-common_3.30-1_i386.deb ${pkgdir}
24   install cnijfilter-mx870series_3.30-1_i386.deb ${pkgdir}
26   cd ${srcdir}/scangearmp-mx870series-1.50-1-i386-deb/packages
27   install scangearmp-common_1.50-1_i386.deb ${pkgdir}
28   install scangearmp-mx870series_1.50-1_i386.deb ${pkgdir}
30   cd ${pkgdir}
32   deb2targz cnijfilter-common_3.30-1_i386.deb
33   tar -xvf cnijfilter-common_3.30-1_i386.tar.gz
34   rm cnijfilter-common_3.30-1_i386.deb
35   rm cnijfilter-common_3.30-1_i386.tar.gz
37   deb2targz cnijfilter-mx870series_3.30-1_i386.deb
38   tar -xvf cnijfilter-mx870series_3.30-1_i386.tar.gz
39   rm cnijfilter-mx870series_3.30-1_i386.deb
40   rm cnijfilter-mx870series_3.30-1_i386.tar.gz
42   deb2targz scangearmp-common_1.50-1_i386.deb
43   tar -xvf scangearmp-common_1.50-1_i386.tar.gz
44   rm scangearmp-common_1.50-1_i386.deb
45   rm scangearmp-common_1.50-1_i386.tar.gz
47   deb2targz scangearmp-mx870series_1.50-1_i386.deb
48   tar -xvf scangearmp-mx870series_1.50-1_i386.tar.gz
49   rm scangearmp-mx870series_1.50-1_i386.deb
50   rm scangearmp-mx870series_1.50-1_i386.tar.gz