4 pkgdesc="A simple shell script that acts as a CUPS backend for a serial faxmodem."
6 url="http://vigna.dsi.unimi.it/fax4CUPS/"
7 depends=('cups' 'grep' 'sudo')
8 source=(http://vigna.dsi.unimi.it/fax4CUPS/fax4CUPS-${pkgver}.tar.gz)
9 md5sums=('91280357f84789b9210397294c078242')
10 install=fax4cups.install
13 cd ${startdir}/src/fax4CUPS-${pkgver}
15 sed -i -e 's|sysconfig/fax|cups/efax-backend.conf|g' *
17 install -D -m644 fax4CUPS.1 ${startdir}/pkg/usr/man/man1/fax4CUPS.1
19 for FAXBACKEND in capisuite-fax efax hylafax mgetty-fax
21 install -D $FAXBACKEND ${startdir}/pkg/usr/lib/cups/backend/${FAXBACKEND}
24 for FAXMODEL in capisuite-fax.ppd efax.ppd hylafax.ppd mgetty-fax.ppd
26 install -D -m644 $FAXMODEL ${startdir}/pkg/usr/share/cups/model/${FAXMODEL}