summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15432cf7edf87253d2958d957b2890b437d2a63d (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
# Contributor: Peter Baldwin <bald_pete@hotmail.com>
# Contributor (modifications): Bruno Tsubouchi Yporti <brunoyporti@gmail.com>
# Contributor (modifications): Igor Nemilentsev <trezorg@gmail.com>
# For Lexmark Z601, Lexmark Z602, Lexmark Z604, Lexmark Z605, Lexmark Z615, and Dell 720
# Partial suport in others printers (e.g. Lexmark X1250)

pkgname=z600
pkgver=1.0
pkgrel=4
pkgdesc="Lexmark Z600 Printer Driver"
arch=('i686' 'x86_64')
url="http://www.lexmark.com/"
license=('custom')
depends_i686=('cups' 'libstdc++5')
depends_x86_64=('cups' 'lib32-libcups' 'lib32-libstdc++5')
source=("http://downloads.lexmark.com/downloads/cpd/CJLZ600LE-CUPS-1.0-1.TAR.gz")
md5sums=('c0e35c9819b25e587e75a5a743c49f18')


prepare() {
  tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz
  bsdtar -xf install.tar.gz
  bsdtar -xf z600llpddk-2.0-1.i386.rpm
  bsdtar -xf z600cups-1.0-1.i386.rpm
}

package() {
  cd $srcdir/
  cp -dpr --no-preserve=ownership usr/ $pkgdir/
}