updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / foo2hp / PKGBUILD
blob6156d5db2d79de08bd6b9933ab1b8875543f53ef
1 # Maintainer: Carlos Eduardo Moreira dos Santos <cems@cemshost.com.br>
2 pkgname=foo2hp
3 pkgver=20091106
4 pkgrel=1
5 pkgdesc='a linux printer driver for ZjStream protocol e.g. HP Color LaserJet 1600/2600n'
6 arch=('i686' 'x86_64')
7 url="http://foo2hp.rkkda.com/"
8 license=('GPL')
9 depends=('foomatic-filters' 'ghostscript')
10 makedepends=('unzip')
11 install=$pkgname.install
12 source=(http://cadu.santos.nom.br/archlinux/foo2zjs$pkgver.tar.gz)
13 md5sums=('1e664a4e9847df7f440e31523773e2dd')
15 build() {
16   cd $srcdir
17   patch foo2zjs/Makefile ../Makefile.patch
18   mkdir -p $pkgdir/usr/bin $pkgdir/bin $pkgdir/usr/share/foomatic/db/source/opt $pkgdir/usr/share/ppd $pkgdir/usr/share/cups/model $pkgdir/usr/share/applications $pkgdir/usr/share/pixmaps $pkgdir/usr/share/gnome/apps/System
19   cd $srcdir/foo2zjs
20   make || return 1
21   $startdir/selectPrinters
22   make DESTDIR=$pkgdir install || return 1