brother-dcp197c-cupswrapper: use bsdtar + xlintify

This commit is contained in:
Jürgen Buchmüller 2020-11-16 14:34:18 +01:00
parent 6d3a17ca44
commit eb13a8ac8c

View file

@ -2,15 +2,15 @@
pkgname=brother-dcp197c-cupswrapper pkgname=brother-dcp197c-cupswrapper
version=1.1.3 version=1.1.3
revision=8 revision=8
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>" archs="i686 x86_64"
homepage="http://support.brother.com/g/b/index.aspx" create_wrksrc=yes
license="GPL-2" depends="brother-dcp197c-lpr cups"
short_desc="CUPS wrapper driver for the brother DCP-197C printer/scanner" short_desc="CUPS wrapper driver for the brother DCP-197C printer/scanner"
maintainer="Carlo Dormeletti <carlo.dormeletti@alice.it>"
license="GPL-2.0-or-later"
homepage="http://support.brother.com/g/b/index.aspx"
distfiles="http://download.brother.com/welcome/dlf005405/dcp197ccupswrapper-${version}-1.i386.deb" distfiles="http://download.brother.com/welcome/dlf005405/dcp197ccupswrapper-${version}-1.i386.deb"
checksum="d3ebfad8231939900b8041022d6c35a0ee7a1a417f7ffdab2ae371b54a00bab8" checksum="d3ebfad8231939900b8041022d6c35a0ee7a1a417f7ffdab2ae371b54a00bab8"
archs="i686 x86_64"
depends="brother-dcp197c-lpr cups"
create_wrksrc=yes
nopie=yes nopie=yes
do_extract() { do_extract() {
@ -19,7 +19,7 @@ do_extract() {
do_install() { do_install() {
mkdir -p ${DESTDIR} mkdir -p ${DESTDIR}
tar xzpvf data.tar.gz -C ${DESTDIR} bsdtar xzpvf data.tar.gz -C ${DESTDIR}
rm ${DESTDIR}/opt/brother/Printers/dcp197c/cupswrapper/cupswrapperdcp197c rm ${DESTDIR}/opt/brother/Printers/dcp197c/cupswrapper/cupswrapperdcp197c
vinstall ${FILESDIR}/cupswrapper.void 755 /opt/brother/Printers/dcp197c/cupswrapper/ vinstall ${FILESDIR}/cupswrapper.void 755 /opt/brother/Printers/dcp197c/cupswrapper/
vinstall ${FILESDIR}/43-cups-usb.rules 644 /usr/lib/udev/rules.d/ vinstall ${FILESDIR}/43-cups-usb.rules 644 /usr/lib/udev/rules.d/