updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / z600 / PKGBUILD
blobb0225cb33b622f298f546d3f6137449b73fd6915
1 # Contributor: Peter Baldwin <bald_pete@hotmail.com>
2 # Contributor (modifications): Bruno Tsubouchi Yporti <brunoyporti@gmail.com>
3 # Contributor (modifications): Igor Nemilentsev <trezorg@gmail.com>
4 # For Lexmark Z601, Lexmark Z602, Lexmark Z604, Lexmark Z605, Lexmark Z615, and Dell 720
5 # Partial suport in others printers (e.g. Lexmark X1250)
6 pkgname=z600
7 pkgver=1.0
8 pkgrel=1
9 pkgdesc="Lexmark Z600 Printer Driver"
10 makedepends=('rpmextract' 'cpio' 'gzip' 'bash')
11 depends=('cups' 'libstdc++5')
12 arch=('i686')
13 license=('Freeware')
14 url="http://www.lexmark.com/"
15 source=("http://downloads.lexmark.com/downloads/cpd/CJLZ600LE-CUPS-1.0-1.TAR.gz")
16 md5sums=('c0e35c9819b25e587e75a5a743c49f18')
18 build() {
19   cd $startdir/src
20   tar xf CJLZ600LE-CUPS-1.0-1.TAR.gz
21   tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz
22   tar xf install.tar.gz
23   rpmextract.sh z600llpddk-2.0-1.i386.rpm
24   rpmextract.sh z600cups-1.0-1.i386.rpm
25   mv -f usr $startdir/pkg