blob: 3b8363dbdadfbc2ef421d0ef3935578287a32b6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Ludovico de Nittis <aasonykk [at] gmail [dot] com>
# Contributor: cidtux <cidtux@gmail.com>
# Modified from canon-pixma-mx870-complete by Charles Wise <charles [at] charlesbwise [dot] com>
pkgname=canon-pixma-mp230-complete
pkgver=3.80
pkgrel=3
pkgdesc="Complete stand alone driver set (printing and scanning) for Canon Pixma MP230 series"
url="http://support-sg.canon-asia.com/contents/SG/EN/0100465901.html"
arch=('x86_64')
license=('custom')
depends=('lib32-libcups' 'lib32-popt' 'lib32-libpng12' 'lib32-libusb-compat' 'lib32-libtiff4' 'lib32-gtk2')
makedepends=('binutils')
source=('http://gdlp01.c-wss.com/gds/9/0100004659/01/cnijfilter-mp230series-3.80-1-deb.tar.gz'
'http://gdlp01.c-wss.com/gds/5/0100004695/01/scangearmp-mp230series-2.00-1-deb.tar.gz')
sha1sums=('aa10d1483cec69f10c0c12bc524ac4f1b9c08a8f'
'df3a723c7e8bdce8fc5708905862aaa17fe333c0')
prepare(){
tar -xzf cnijfilter-mp230series-3.80-1-deb.tar.gz
tar -xzf scangearmp-mp230series-2.00-1-deb.tar.gz
mkdir -p ${srcdir}/cnijfilter-mp230series-3.80-1-deb/packages/
}
package(){
cd ${srcdir}/cnijfilter-mp230series-3.80-1-deb/packages/
install cnijfilter-common_3.80-1_i386.deb ${pkgdir}
install cnijfilter-mp230series_3.80-1_i386.deb ${pkgdir}
cd ${srcdir}/scangearmp-mp230series-2.00-1-deb/packages
install scangearmp-common_2.00-1_i386.deb ${pkgdir}
install scangearmp-mp230series_2.00-1_i386.deb ${pkgdir}
cd ${pkgdir}
ar -x cnijfilter-common_3.80-1_i386.deb data.tar.gz
tar -xzf data.tar.gz
rm cnijfilter-common_3.80-1_i386.deb
rm data.tar.gz
ar -x cnijfilter-mp230series_3.80-1_i386.deb data.tar.gz
tar -xvf data.tar.gz
rm cnijfilter-mp230series_3.80-1_i386.deb
rm data.tar.gz
ar -x scangearmp-common_2.00-1_i386.deb data.tar.gz
tar -xvf data.tar.gz
rm scangearmp-common_2.00-1_i386.deb
rm data.tar.gz
ar -x scangearmp-mp230series_2.00-1_i386.deb data.tar.gz
tar -xvf data.tar.gz
rm scangearmp-mp230series_2.00-1_i386.deb
rm data.tar.gz
mkdir ${pkgdir}/usr/share/licenses
mkdir ${pkgdir}/usr/share/licenses/canon-pixma-mp230-complete
cd ${pkgdir}/usr/share/doc
mv cnijfilter-common cnijfilter-mp230series scangearmp-common scangearmp-mp230series ../licenses/canon-pixma-mp230-complete/
rm -r ${pkgdir}/usr/share/doc
cd ${pkgdir}/usr/lib/bjlib/
chmod 644 canon_mfp_net.ini
}
|