updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / cnijfilter-common-i386 / PKGBUILD
blob6dff54ba98aeaac8720470acad591a80ae03fdcf
1 # Contributor: SubNeX
2 # Contributor: Estuera ( modified to i386)
4 pkgname=cnijfilter-common-i386
5 pkgver=3.40
6 pkgrel=1
7 pkgdesc="Canon IJ Printer Driver (Common package) 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=('libcups' 'popt')
13 conflicts=('cnijfilter-common')
14 makedepends=('rpmextract')
15 source=(http://thoughtlabs.org/software/rpm/cannon-mp495/cnijfilter-common-3.40-1.i386.rpm)
16 md5sums=('f95359b61c58f1fc65d1e0b90f69f97e')
17 build() {
18   cd $startdir/pkg/
19   rpmextract.sh $startdir/src/cnijfilter-common-$pkgver-1.i386.rpm
20   mkdir -p usr/share/licenses/${pkgname}
21   cp -r usr/share/doc/cnijfilter-common-$pkgver/* usr/share/licenses/${pkgname}
22   chmod -R a+rX usr/