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

David Runge dvzrv at archlinux.org
Tue Feb 16 22:19:45 UTC 2021


    Date: Tuesday, February 16, 2021 @ 22:19:44
  Author: dvzrv
Revision: 408331

upgpkg: sane 1.0.32-3: Rebuild to remove testing features and changelogs.

Disable the potentially dangerous testing feature pnm-backend.
Disable locking, as the detection of groups does not work in the build environment.
Remove unused libglib-2.0.so dependency.
Remove old changelog files.

Modified:
  sane/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-16 22:03:17 UTC (rev 408330)
+++ PKGBUILD	2021-02-16 22:19:44 UTC (rev 408331)
@@ -7,7 +7,7 @@
 _name=backends
 pkgname=sane
 pkgver=1.0.32
-pkgrel=2
+pkgrel=3
 pkgdesc="Scanner Access Now Easy"
 url="http://www.sane-project.org/"
 arch=('x86_64')
@@ -49,11 +49,10 @@
   cd "${_name}-${pkgver}"
 
   ./configure --prefix=/usr \
+    --disable-locking \
     --disable-rpath \
     --docdir="/usr/share/doc/${pkgname}" \
-    --enable-locking \
     --enable-pthread \
-    --enable-pnm-backend \
     --localstatedir=/var \
     --sbindir=/usr/bin \
     --sysconfdir=/etc \
@@ -73,8 +72,8 @@
 
 package() {
   depends+=('libavahi-client.so' 'libavahi-common.so' 'libcurl.so'
-  'libgphoto2.so' 'libglib-2.0.so' 'libgobject-2.0.so' 'libpoppler-glib.so'
-  'libsystemd.so' 'libtiff.so' 'libusb-1.0.so')
+  'libgphoto2.so' 'libgobject-2.0.so' 'libpoppler-glib.so' 'libsystemd.so'
+  'libtiff.so' 'libusb-1.0.so')
 
   cd "${_name}-${pkgver}"
 
@@ -100,6 +99,9 @@
   # sysusers.d
   install -vDm 644 "../${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
 
+  # remove old ChangeLogs
+  rm -rvf "${pkgdir}/usr/share/doc/${pkgname}/ChangeLogs/"
+
   # add files below /etc/sane.d to backup array
   cd "${pkgdir}"
   # trick extract_function_variable() in makepkg into not detecting the



More information about the arch-commits mailing list