[arch-commits] Commit in hplip/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sun May 15 12:09:21 UTC 2016


    Date: Sunday, May 15, 2016 @ 14:09:21
  Author: andyrtr
Revision: 268056

* put config files under backup control
* enable hpaio scanner driver; FS#49340

Modified:
  hplip/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-15 07:37:26 UTC (rev 268055)
+++ PKGBUILD	2016-05-15 12:09:21 UTC (rev 268056)
@@ -6,7 +6,7 @@
 
 pkgname=hplip
 pkgver=3.16.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
 arch=('i686' 'x86_64')
 url="http://hplipopensource.com"
@@ -24,6 +24,7 @@
             'hplip-plugin: binary blobs for specific devices (AUR) or run hp-setup to download the plugin'
             'libusb: for advanced usb support')
 install=hplip.install
+backup=('etc/hp/hplip.conf' 'etc/sane.d/dll.d/hpaio')
 source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc}
         disable_upgrade.patch)
 sha1sums=('59264a6668ab37871fd007fcee70d4932f11f9d7'
@@ -74,6 +75,8 @@
  
  # remove config provided by sane and autostart of hp-daemon
  rm -rf "$pkgdir"/etc/{sane.d,xdg}
+ install -dm755 ${pkgdir}/etc/sane.d/dll.d
+ echo hpaio > ${pkgdir}/etc/sane.d/dll.d/hpaio
  
  # remove HAL .fdi file because HAL is no longer used
  rm -vrf "$pkgdir"/usr/share/hal



More information about the arch-commits mailing list