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

Jan Steffens heftig at gemini.archlinux.org
Thu Dec 2 18:20:14 UTC 2021


    Date: Thursday, December 2, 2021 @ 18:20:14
  Author: heftig
Revision: 430323

2.4.0-4: fix statedir

Modified:
  cups/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 17:17:01 UTC (rev 430322)
+++ PKGBUILD	2021-12-02 18:20:14 UTC (rev 430323)
@@ -3,7 +3,7 @@
 pkgbase="cups"
 pkgname=('libcups' 'cups')
 pkgver=2.4.0
-pkgrel=3
+pkgrel=4
 epoch=1
 arch=('x86_64')
 license=('Apache' 'custom')
@@ -38,7 +38,6 @@
 #options=(!makeflags)
 
 prepare() {
-
   cd "${pkgbase}"-${pkgver}
 
   # move /var/run -> /run for pid file
@@ -57,9 +56,9 @@
   # 0001_fix_missing_bracket.patch
   patch -Np1 -i ../0001_fix_missing_bracket.patch
 
-  # Rebuild configure script for not zipping man-pages.
-#  aclocal -I config-scripts
-#  autoconf -I config-scripts
+  # Rebuild configure script
+  aclocal -I config-scripts
+  autoconf -I config-scripts
 }
 
 build() {
@@ -152,7 +151,7 @@
   # install ssl directory where to store the certs, solves some samba issues
   install -dm700 -g 209 "${pkgdir}"/etc/cups/ssl
   # remove directory from package, it will be recreated at each server start
-  rm -rf "${pkgdir}"/{,var/}run
+  rm -rf "${pkgdir}"/run
 
   # install some more configuration files that will get filled by cupsd
   touch "${pkgdir}"/etc/cups/printers.conf



More information about the arch-commits mailing list