From d3a9359ab73fb4e296b47c16d0bc3264c609c43f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 31 Jul 2020 12:26:50 +0200 Subject: community/acpi_call{,-lts}: $CARCH should be i686 in package() if it was pentium4 before --- community/acpi_call/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/acpi_call/PKGBUILD (limited to 'community/acpi_call') diff --git a/community/acpi_call/PKGBUILD b/community/acpi_call/PKGBUILD new file mode 100644 index 00000000..891b535f --- /dev/null +++ b/community/acpi_call/PKGBUILD @@ -0,0 +1,13 @@ +eval "$( + declare -f package \ + | sed ' + /\$CARCH/ { + h + s/^/[ "$CARCH" = pentium4 ] || / + p + g + s/\$CARCH/i686/g + s/^/[ "$CARCH" != pentium4 ] || / + } + ' +)" -- cgit v1.2.3-70-g09d2