1 pkgname=cnijfilter-mp640
5 pkgdesc="Canon Printer Driver (For Multifunction MP640)"
6 url="http://software.canon-europe.com/products/0010757.asp"
9 if [ "${CARCH}" = 'x86_64' ]; then
10 depends=('lib32-libcups' 'lib32-popt' 'cnijfilter-common')
11 elif [ "${CARCH}" = 'i686' ]; then
12 depends=('libcups' 'popt' 'cnijfilter-common')
14 makedepends=('rpmextract')
15 source=(http://files.canon-europe.com/files/soft37273/software/MP640_rpm_driver_pack.tar)
16 md5sums=('44cc20ef41db260464c00bbfd6fd3793')
21 tar -xf MP640_rpm_driver_pack.tar
22 tar -xf ${_pkgname}-mp640series-${pkgver}-1-i386-rpm.tar.gz
23 cd ${_pkgname}-mp640series-${pkgver}-1-i386-rpm/packages
24 rpmextract.sh ${_pkgname}-mp640series-${pkgver}-1.i386.rpm