summaryrefslogtreecommitdiff
path: root/community/acpi_call
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-31 12:26:50 +0200
committerErich Eckner <git@eckner.net>2020-07-31 12:26:50 +0200
commitd3a9359ab73fb4e296b47c16d0bc3264c609c43f (patch)
tree35c18cfe5d67bad31f4aa9721e005bdb897ce8ad /community/acpi_call
parentac29abeedd23acc31aa903fa14e3ee56ccb63aec (diff)
downloadpackages-d3a9359ab73fb4e296b47c16d0bc3264c609c43f.tar.xz
community/acpi_call{,-lts}: $CARCH should be i686 in package() if it was pentium4 before
Diffstat (limited to 'community/acpi_call')
-rw-r--r--community/acpi_call/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
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 ] || /
+ }
+ '
+)"