updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ip2200 / PKGBUILD
blob6078a6e81bd771ad9fe80561beaa1d9121c324ab
1 # Contributor: Rick Rein <jeebusroxors@gmail.com>
2 # Contributor: Peter Baldwin <bald_pete@hotmail.com>
3 # Contributor: Andrew Belitsky <belitsky.a@gmail.com>
4 pkgname=ip2200
5 pkgver=2.60
6 pkgrel=6
7 pkgdesc="Canon Print Filter for Pixma iP2200 printer"
8 url="http://software.canon-europe.com/products/0010231.asp"
9 depends=('libxml' 'libpng12' 'libtiff' 'libjpeg' 'zlib')
10 makedepends=('rpmextract')
11 arch=('i686' 'x86_64')
12 license=('custom')
13 source=("http://files.canon-europe.com/files/soft24301/software/24301.tgz"
14         LICENSE)
15 md5sums=('4333598b32b9b89326f2f6eb7351fade'
16          '4df9593c184cd39bb9d9df6195c4d390')
17 build() {
18         cd $srcdir
19         tar -xf iP2200_Linux_260.tar.gz
20         cd $pkgdir
21         rpmextract.sh $srcdir/cnijfilter-common-2.60-1.i386.rpm  
22         rpmextract.sh $srcdir/cnijfilter-ip2200-lprng-2.60-1.i386.rpm
23         rpmextract.sh $srcdir/cnijfilter-ip2200-2.60-1.i386.rpm
24         chmod -R a+rX usr/
25         mkdir -p $pkgdir/usr/licenses/$pkgname/
26         cp $srcdir/LICENSE $pkgdir/usr/licenses/$pkgname/LICENSE