Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
yubikey-personalization


Commits:
2b975451 by Christian Hesse at 2025-08-16T23:56:57+02:00
indent with spaces

- - - - -
edf8ab4b by Christian Hesse at 2025-08-16T23:58:20+02:00
call autoreconf unconditionally

To allow easier porting to aarch64/riscv call autoreconf so that the
build tooling understands these "new" architectures.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -23,32 +23,34 @@ 
sha256sums=('0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93'
             '7c9ff4dd0131c5efc5917f20fff7b1e9dbd58e22f754c7ac6d010c85df1e498d')
 
 prepare() {
-       cd "${_shortname}-${pkgver}"
+  cd "${_shortname}-${pkgver}"
 
-       patch -Np1 < ../0001-fix-boolean-value-with-json-c-0.14.patch
-       patch -Np1 < ../0002-make-header-declarations-extern.patch
+  patch -Np1 < ../0001-fix-boolean-value-with-json-c-0.14.patch
+  patch -Np1 < ../0002-make-header-declarations-extern.patch
+
+  autoreconf -fvi
 }
 
 build() {
-       cd "${_shortname}-${pkgver}"
+  cd "${_shortname}-${pkgver}"
 
-       ./configure \
-               --prefix=/usr \
-               --with-udevrulesdir=/usr/lib/udev/rules.d/
-       make
+  ./configure \
+    --prefix=/usr \
+    --with-udevrulesdir=/usr/lib/udev/rules.d/
+  make
 }
 
 check() {
-       cd "${_shortname}-${pkgver}"
+  cd "${_shortname}-${pkgver}"
 
-       make check
+  make check
 }
 
 package() {
-       cd "${_shortname}-${pkgver}"
+  cd "${_shortname}-${pkgver}"
 
-       install -D -m0644 COPYING 
"${pkgdir}/usr/share/licenses/yubikey-personalization/COPYING"
-       install -D -m0644 README 
"${pkgdir}/usr/share/doc/yubikey-personalization/README"
-       make DESTDIR="${pkgdir}/" install
+  install -D -m0644 COPYING 
"${pkgdir}/usr/share/licenses/yubikey-personalization/COPYING"
+  install -D -m0644 README 
"${pkgdir}/usr/share/doc/yubikey-personalization/README"
+  make DESTDIR="${pkgdir}/" install
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yubikey-personalization/-/compare/e3a0d54102d1d4c09c26505772706790531952d3...edf8ab4b8d3617318d2944ab48b3c463d159bed9

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yubikey-personalization/-/compare/e3a0d54102d1d4c09c26505772706790531952d3...edf8ab4b8d3617318d2944ab48b3c463d159bed9
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to