Advertisement
Guest User

brother-ql720nw pkgbuild symlink patch

a guest
May 22nd, 2018
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.75 KB | None | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 8300236..d0e6c9e 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -3,7 +3,7 @@
  6.  
  7.  pkgname='brother-ql720nw'
  8.  pkgver=1.1.4r0
  9. -pkgrel=2
  10. +pkgrel=3
  11.  pkgdesc='LPR and CUPS driver for Brother QL-720NW label printer'
  12.  url='http://solutions.brother.com/linux/en_us/'
  13.  arch=('i686' 'x86_64')
  14. @@ -57,6 +57,11 @@ prepare()
  15.  
  16.    #  /etc/printcap is managed by cups
  17.    rm `find $srcdir -type f -name 'setupPrintcap*'`
  18. +
  19. +  # /usr/lib/cups/filter/brother_lpdwrapper_ql720nw should be an absolute symlink
  20. +  rm $srcdir/usr/lib/cups/filter/brother_lpdwrapper_ql720nw
  21. +  ln -s /opt/brother/PTouch/ql720nw/cupswrapper/brother_lpdwrapper_ql720nw  \
  22. +        $srcdir/usr/lib/cups/filter/brother_lpdwrapper_ql720nw
  23.  }
  24.  
  25.  package() {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement