brother-dcp197c-lpr: don't manually extract deb

This commit is contained in:
classabbyamp 2022-11-10 03:36:07 -05:00 committed by classabbyamp
parent 3efdf55719
commit b7c75f7594

View file

@ -3,7 +3,6 @@ pkgname=brother-dcp197c-lpr
version=1.1.3
revision=6
archs="i686 x86_64"
create_wrksrc=yes
depends="a2ps ghostscript"
short_desc="LPR driver for the brother DCP-197C printer/scanner"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -18,11 +17,7 @@ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
depends+=" glibc-32bit"
fi
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/dcp197clpr-${version}-1.i386.deb
}
do_install() {
mkdir -p ${DESTDIR}
bsdtar xzpvf data.tar.gz -C ${DESTDIR}
vcopy opt /
vcopy usr /
}