updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / scangearmp-mp495-i386 / PKGBUILD
blob141c2b2a0680507798b84048ac7c4729b5a051aa
1 # Contributor: SubNeX
2 # Contributor: Estuera (modified to i386)
4 pkgname=scangearmp-mp495-i386
5 pkgver=1.60
6 pkgrel=1
7 pkgdesc="Canon IJ Scanner Driver (MP495) i386"
8 url="http://www.canon.dk/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MP_series/MP495.aspx?type=download&page=1"
9 arch=('i386')
10 arch=('i686')
11 license=('custom')
12 depends=('sane' 'gtk2>=2.4.0' 'gimp>=2.0.0' 'libpng>=1.2.8' 'libusb>=0.1.12' 'scangearmp-i386')
13 makedepends=('rpmextract')
14 source=(http://files.canon-europe.com/files/soft40270/Software/MP495series-scanner_driver.tar)
15 md5sums=('9217ca25d62677ce2b24d0e95da35f4c')
17 build() {
18   cd $startdir/pkg/
19   tar -xvf $startdir/MP495series-scanner_driver.tar scangearmp-mp495series-1.60-1-rpm.tar.gz
20   tar -xvf $startdir/src/scangearmp-mp495series-$pkgver-1-rpm.tar.gz scangearmp-mp495series-$pkgver-1-rpm/packages/scangearmp-mp495series-$pkgver-1.i386.rpm  
21   rpmextract.sh $startdir/pkg/scangearmp-mp495series-$pkgver-1-rpm/packages/scangearmp-mp495series-$pkgver-1.i386.rpm
22   chmod -R a+rX usr/