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

Jelle van der Waa jelle at gemini.archlinux.org
Tue Jul 20 19:02:44 UTC 2021


    Date: Tuesday, July 20, 2021 @ 19:02:43
  Author: jelle
Revision: 980467

Make reproducible by setting a known builddate

Modified:
  aqbanking/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-20 18:48:46 UTC (rev 980466)
+++ PKGBUILD	2021-07-20 19:02:43 UTC (rev 980467)
@@ -4,7 +4,7 @@
 
 pkgname=aqbanking
 pkgver=6.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A library for online banking and financial applications"
 arch=('x86_64')
 url="https://www.aquamaniac.de/rdm/projects/aqbanking"
@@ -20,9 +20,12 @@
 build() {
   cd "${srcdir}"/$pkgname-$pkgver
 
+  BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
+
   export PKG_CONFIG=/usr/bin/pkg-config
   ./configure --prefix=/usr --enable-gwenhywfar \
-              --with-backends="aqhbci aqofxconnect aqpaypal"
+              --with-backends="aqhbci aqofxconnect aqpaypal" \
+              --with-build-datetime=$(BUILD_DATE)
   make
 }
 




More information about the arch-commits mailing list