updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / cnijfilter-mx870series / PKGBUILD
blob60381beb457314f01193ce3b07155b60c6a395c4
1 # Maintainer: Brandon Thomas (brandon.thomas@gmail.com) 
3 pkgname=cnijfilter-mx870series
4 pkgver=3.30
5 pkgrel=1
6 pkgdesc="MX870 series IJ Printer Driver"
7 url="http://support-asia.canon-asia.com/contents/ASIA/EN/0100272302.html"
8 arch=('i686' 'x86_64')
9 license=('custom')
10 provides=('cnijfilter-common')
11 if [ "${CARCH}" = 'x86_64' ]; then
12   depends=('lib32-libcups' 'lib32-popt')
13 elif [ "${CARCH}" = 'i686' ]; then
14     depends=('libcups' 'popt')
16 makedepends=('deb2targz')
17 source=('http://gdlp01.c-wss.com/gds/3/0100002723/01/cnijfilter-mx870series-3.30-1-i386-deb.tar.gz')
18 md5sums=('2aae1637d5f4c1bf10095fb5473f18c2')
20 build(){
21   cd ${srcdir}/cnijfilter-mx870series-3.30-1-i386-deb/packages/
22   install cnijfilter-common_3.30-1_i386.deb ${pkgdir}
23   install cnijfilter-mx870series_3.30-1_i386.deb ${pkgdir}
25   cd ${pkgdir}
27   deb2targz cnijfilter-common_3.30-1_i386.deb
28   tar -xvf cnijfilter-common_3.30-1_i386.tar.gz
29   rm cnijfilter-common_3.30-1_i386.deb
30   rm cnijfilter-common_3.30-1_i386.tar.gz
32   deb2targz cnijfilter-mx870series_3.30-1_i386.deb
33   tar -xvf cnijfilter-mx870series_3.30-1_i386.tar.gz
34   rm cnijfilter-mx870series_3.30-1_i386.deb
35   rm cnijfilter-mx870series_3.30-1_i386.tar.gz