Date: Monday, February 13, 2023 @ 11:12:00
  Author: dvzrv
Revision: 468707

upgpkg: sane 1.2.1-3: Rebuild to fix reproducibility.

Sort the find output used to populate the backup array.
Copy translation files for translations without specific .po file:
https://gitlab.com/sane-project/backends/-/issues/647

Modified:
  sane/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-13 09:18:50 UTC (rev 468706)
+++ PKGBUILD    2023-02-13 11:12:00 UTC (rev 468707)
@@ -7,7 +7,7 @@
 _name=backends
 pkgname=sane
 pkgver=1.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Scanner Access Now Easy"
 arch=(x86_64)
 url="http://www.sane-project.org/";
@@ -58,6 +58,9 @@
 
 prepare() {
   cd $_name-$pkgver
+  # copy translation files so they become reproducible: 
https://gitlab.com/sane-project/backends/-/issues/647
+  cp -v po/en{_GB,@quot}.po
+  cp -v po/en{_GB,@boldquot}.po
   # create version files, so that autotools macros can use them:
   # https://gitlab.com/sane-project/backends/-/issues/440
   printf "%s\n" "$pkgver" > .tarball-version
@@ -132,5 +135,5 @@
   cd "$pkgdir"
   # trick extract_function_variable() in makepkg into not detecting the
   # backup array modification and adding remaining configuration files
-  [[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" 
-type f) )
+  [[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" 
-type f | sort) )
 }

Reply via email to