samsung-unified-driver: fix scanner backend config/install

Closes: #4377 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Michael Gehring 2018-11-02 16:29:30 +01:00 committed by Jürgen Buchmüller
parent 3367fe71d0
commit 5a3d5ee9df
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 6 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'samsung-unified-driver-nonfree'
# Template file for 'samsung-unified-driver'
pkgname=samsung-unified-driver
version=1.00.37
revision=2
revision=3
create_wrksrc=yes
only_for_archs="i686 x86_64"
repository=nonfree
depends="libxml2 libusb-compat cups sane ghostscript"
depends="cups ghostscript libusb-compat sane"
short_desc="Unified Linux Driver for Samsung printers and scanners"
maintainer="Thomas Bernard <thomas@famillebernardgouriou.fr>"
license="Propietary"
@ -57,10 +57,12 @@ do_install() {
vmkdir /etc/sane.d/dll.d
echo smfp > "$DESTDIR"/etc/sane.d/dll.d/smfp-scanner
echo $FILESDIR/xerox_mfp-smfp > "$DESTDIR"/etc/sane.d/dll.d/smfp-scanner-fix
echo xerox_mfp-smfp > "$DESTDIR"/etc/sane.d/dll.d/smfp-scanner-fix
vmkdir /usr/lib/sane
vcopy uld/$XBPS_TARGET_MACHINE/libsane-smfp.so.1.0.1 /usr/lib/sane
ln -s libsane-smfp.so.1.0.1 "$DESTDIR"/usr/lib/sane/libsane-smfp.so.1
ln -s libsane-smfp.so.1 "$DESTDIR"/usr/lib/sane/libsane-smfp.so
vmkdir /usr/lib/udev/rules.d
(