SHARE
TWEET

Fix /usr/lib32/cups/backend link and do a little cleaning up

Maxqia Mar 20th, 2016 (edited) 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From ebfdd2c482a22d5b3f5dd2307e565585bbb4444b Mon Sep 17 00:00:00 2001
  2. From: Maxqia <contrib@maxqia.com>
  3. Date: Sun, 20 Mar 2016 04:41:26 -0700
  4. Subject: [PATCH] Fix /usr/lib32/cups/backend link and do a little cleaning up
  5.  
  6. ---
  7. PKGBUILD | 11 +++++------
  8.  1 file changed, 5 insertions(+), 6 deletions(-)
  9.  
  10. diff --git a/PKGBUILD b/PKGBUILD
  11. index f712a06..5f3d565 100644
  12. --- a/PKGBUILD
  13. +++ b/PKGBUILD
  14. @@ -2,12 +2,13 @@
  15.  # Contributor: Stefan Hackl <stef.hackl [at the] gmail [dot] com>
  16.  # Contributor: Eric Le Bras <eric.lebras [at the] gmail [dot] com>
  17.  # Contributor: Jeroen Op 't Eynde <jeroen [at the] xprsyrslf [dot] be>
  18. +# Contributor: Maxqia <contrib [at the] maxqia [dot] com
  19.  
  20.  pkgname=('cnijfilter-common')
  21.  _pkgname=cnijfilter
  22.  
  23.  pkgver=4.00
  24. -pkgrel=1
  25. +pkgrel=2
  26.  _pkgreview=1
  27.  
  28.  pkgdesc="Canon IJ Printer Driver (Common Package)"
  29. @@ -59,17 +60,15 @@ package() {
  30.    make PACKAGEDIR=${pkgdir} installcommon
  31.    
  32.    install -d ${pkgdir}/usr/lib32/bjlib
  33. -  if [ "${CARCH}" = 'x86_64' ]; then
  34. -    install -d ${pkgdir}/usr/lib
  35. -    ln -s /usr/lib32/bjlib ${pkgdir}/usr/lib/bjlib
  36. -  fi
  37.    install -m 644 com/ini/cnnet.ini ${pkgdir}/usr/lib32/bjlib
  38.    install -s -m 755 com/libs_bin32/lib*.so.* ${pkgdir}/usr/lib32
  39.    install -D LICENSE-cnijfilter-${pkgver}EN.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-cnijfilter-${pkgver}EN.txt
  40.    if [ "${CARCH}" = 'x86_64' ]; then
  41. +    install -d ${pkgdir}/usr/lib
  42. +    ln -s /usr/lib32/bjlib ${pkgdir}/usr/lib/bjlib
  43.      mv ${pkgdir}/usr/lib/cups/backend ${pkgdir}/usr/lib32/cups/
  44.      install -d ${pkgdir}/usr/lib/cups/backend
  45. -    ln -s /usr/lib32/cups/backend/* ${pkgdir}/usr/lib/cups/backend/
  46. +    cp -rs ${pkgdir}/usr/lib32/cups/backend ${pkgdir}/usr/lib/cups/
  47.      install -d ${pkgdir}/usr/lib/cups/filter
  48.      ln -s /usr/lib32/cups/filter/pstocanonij ${pkgdir}/usr/lib/cups/filter/
  49.    fi
  50. --
  51. 2.7.4
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top