2014-04-19 11:10:44 +02:00
|
|
|
# Template file for 'brother-dcp197c-cupswrapper'
|
|
|
|
pkgname=brother-dcp197c-cupswrapper
|
|
|
|
version=1.1.3
|
2014-08-25 17:43:06 +02:00
|
|
|
revision=6
|
2014-10-27 18:05:31 +01:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-04-19 11:10:44 +02:00
|
|
|
homepage="http://support.brother.com/g/b/index.aspx"
|
|
|
|
license="GPL-2"
|
|
|
|
short_desc="CUPS wrapper driver for the brother DCP-197C printer/scanner"
|
|
|
|
distfiles="http://download.brother.com/welcome/dlf005405/dcp197ccupswrapper-${version}-1.i386.deb"
|
|
|
|
checksum="d3ebfad8231939900b8041022d6c35a0ee7a1a417f7ffdab2ae371b54a00bab8"
|
|
|
|
only_for_archs="i686 x86_64"
|
|
|
|
depends="brother-dcp197c-lpr cups"
|
2014-06-18 10:43:22 +02:00
|
|
|
create_wrksrc=yes
|
2014-04-19 11:10:44 +02:00
|
|
|
|
|
|
|
do_extract() {
|
|
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/dcp197ccupswrapper-${version}-1.i386.deb
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install(){
|
|
|
|
mkdir -p ${DESTDIR}
|
|
|
|
tar xzpvf data.tar.gz -C ${DESTDIR}
|
2014-04-26 15:41:55 +02:00
|
|
|
rm ${DESTDIR}/opt/brother/Printers/dcp197c/cupswrapper/cupswrapperdcp197c
|
|
|
|
vinstall ${FILESDIR}/cupswrapper.void 755 /opt/brother/Printers/dcp197c/cupswrapper/
|
|
|
|
vinstall ${FILESDIR}/43-cups-usb.rules 644 /usr/lib/udev/rules.d/
|
2014-04-19 11:10:44 +02:00
|
|
|
}
|