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

Tobias Powalowski tpowa at archlinux.org
Mon Mar 30 06:13:51 UTC 2009


    Date: Monday, March 30, 2009 @ 02:13:50
  Author: tpowa
Revision: 32312

upgpkg: hplip 3.9.2-2

Modified:
  hplip/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-30 06:13:40 UTC (rev 32311)
+++ PKGBUILD	2009-03-30 06:13:50 UTC (rev 32312)
@@ -4,7 +4,7 @@
 
 pkgname=hplip
 pkgver=3.9.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet."
 arch=('i686' 'x86_64')
 url="http://hplipopensource.com"
@@ -31,5 +31,11 @@
  rm -r $pkgdir/etc/xdg
  # remove non zipped ppd files
  rm $pkgdir/usr/share/ppd/HP/*.ppd
+ # move udev rules to /lib/udev/rules.d
+ mkdir -p $pkgdir/lib/udev/rules.d
+ mv $pkgdir/etc/udev/rules.d/* $pkgdir/lib/udev/rules.d/
+ rm -r $pkgdir/etc/udev
+ # remove lp user, it's not used on archlinux
+ sed -i 's|OWNER="lp", ||g' $pkgdir/lib/udev/rules.d/55-hpmud.rules
 }
 md5sums=('581224f556a23ac5545dde541b6f54ca')




More information about the arch-commits mailing list