brother-dcp197c-cupswrapper: don't manually extract deb
This commit is contained in:
parent
1e7708dc1c
commit
3efdf55719
1 changed files with 1 additions and 6 deletions
|
@ -13,13 +13,8 @@ distfiles="https://download.brother.com/welcome/dlf005405/dcp197ccupswrapper-${v
|
||||||
checksum="d3ebfad8231939900b8041022d6c35a0ee7a1a417f7ffdab2ae371b54a00bab8"
|
checksum="d3ebfad8231939900b8041022d6c35a0ee7a1a417f7ffdab2ae371b54a00bab8"
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
|
||||||
do_extract() {
|
|
||||||
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/dcp197ccupswrapper-${version}-1.i386.deb
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
mkdir -p ${DESTDIR}
|
vcopy opt /
|
||||||
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/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue