updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / lexmark_pro700 / PKGBUILD
blob761da466577de8e3aa2754960c3e90d239a1cfe7
1 # Contributor: Zeph <zeph33@gmail.com>
2 # For Lexmark Pro700 Series
3 pkgname=lexmark_pro700
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Lexmark Pro700 Series Printer Driver"
7 makedepends=('rpmextract' 'gzip' 'bash')
8 depends=('java-runtime' 'cups' 'libstdc++5' 'lua')
9 arch=('x86_64')
10 license=('Freeware')
11 install=lexmark_pro700.install
12 url="http://www.lexmark.com/"
13 source=("http://downloads.lexmark.com/downloads/cpd/lexmark-inkjet-legacy-1.0-1.x86_64.rpm.sh.tar.gz")
14 md5sums=('fc421f21e50a40a4ba482c0b04f17b84')
16 build() {
17   cd $startdir/src
18   tar xf lexmark-inkjet-legacy-1.0-1.x86_64.rpm.sh.tar.gz
19   sh lexmark-inkjet-legacy-1.0-1.x86_64.rpm.sh --noexec --target Installer-Files
20   cd Installer-Files
21   mkdir Driver
22   tar xvvf instarchive_all --lzma -C Driver/
23   cd Driver
24   rpmextract.sh lexmark-inkjet-legacy-1.0-1.x86_64.rpm
25   rpmextract.sh lexmark-legacy-wsu-1.0-1.x86_64.rpm
26   mv -f usr $startdir/pkg