updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / scangearmp-mp540 / PKGBUILD
blob6b13f379b75362e75b504f29ce7d9ebf26f53c4b
1 pkgname=scangearmp-mp540
2 _pkgname=scangearmp
3 pkgver=1.20
4 pkgrel=1
5 pkgdesc="Canon Scanner Driver (For Multifunction MP540)"
6 url="http://software.canon-europe.com/products/0010641.asp"
7 arch=('i686' 'x86_64')
8 license=('custom')
9 depends=('sane')
10 makedepends=('rpmextract')
11 source=(http://files.canon-europe.com/files/soft31329/software/MP540_RPM_drivers.tar)
12 md5sums=('a4b9d98fd1269668254a0f70181bdba9')
14 build() {
15   cd ${srcdir}
16   install -d ${pkgdir}
17   tar -xf MP540_RPM_scangear.tar
18   rpmextract.sh ${_pkgname}-common-${pkgver}-1.i386.rpm
19   rpmextract.sh ${_pkgname}-mp540series-${pkgver}-1.i386.rpm
20   mv "etc" "usr" ${pkgdir}