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

Andreas Radke andyrtr at archlinux.org
Wed Mar 18 12:25:22 UTC 2020


    Date: Wednesday, March 18, 2020 @ 12:25:21
  Author: andyrtr
Revision: 377856

upgpkg: hplip 1:3.20.3-2: add missing compiled python files - FS#61329

Modified:
  hplip/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-18 10:27:25 UTC (rev 377855)
+++ PKGBUILD	2020-03-18 12:25:21 UTC (rev 377856)
@@ -5,7 +5,7 @@
 
 pkgname=hplip
 pkgver=3.20.3
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
 arch=('x86_64')
@@ -88,4 +88,8 @@
 
  # add mixed license file
  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 COPYING
+
+ # Compile Python bytecode:
+ python -m compileall -d /usr/share "$pkgdir/usr/share"
+ python -O -m compileall -d /usr/share "$pkgdir/usr/share"
 }



More information about the arch-commits mailing list