[arch-commits] Commit in hplip/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Mon Sep 23 19:29:59 UTC 2019
Date: Monday, September 23, 2019 @ 19:29:59
Author: andyrtr
Revision: 363298
fix quoting
Modified:
hplip/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-23 19:27:52 UTC (rev 363297)
+++ PKGBUILD 2019-09-23 19:29:59 UTC (rev 363298)
@@ -38,17 +38,17 @@
validpgpkeys=('4ABA2F66DBD5A95894910E0673D770CDA59047B9') # HPLIP (HP Linux Imaging and Printing) <hplip at hp.com>
prepare() {
- cd $pkgname-$pkgver
+ cd "$pkgname"-$pkgver
# disable insecure update - https://bugs.archlinux.org/task/38083
- patch -Np0 -i ${srcdir}/disable_upgrade.patch
+ patch -Np0 -i "${srcdir}"/disable_upgrade.patch
# add missing 'include <cups/ppd.h>' at various places
- patch -Np1 -i ${srcdir}/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
+ patch -Np1 -i "${srcdir}"/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
# fix some handling unicode file names FS#58412
- patch -Np1 -i ${srcdir}/0023-Fix-handling-of-unicode-filenames-in-sixext.py.patch
+ patch -Np1 -i "${srcdir}"/0023-Fix-handling-of-unicode-filenames-in-sixext.py.patch
# remove binary blob libImageProcessor and all linking - FS#59681
- patch -Np1 -i ${srcdir}/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
+ patch -Np1 -i "${srcdir}"/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
export AUTOMAKE='automake --foreign'
autoreconf --force --install
@@ -55,7 +55,7 @@
}
build() {
- cd $pkgname-$pkgver
+ cd "$pkgname"-$pkgver
./configure --prefix=/usr \
--enable-qt5 \
--disable-qt4 \
@@ -66,13 +66,13 @@
}
package() {
- cd $pkgname-$pkgver
+ cd "$pkgname"-$pkgver
make -j1 rulesdir=/usr/lib/udev/rules.d DESTDIR="$pkgdir/" install
# 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
+ 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