Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parentac29abeedd23acc31aa903fa14e3ee56ccb63aec (diff)
community/acpi_call{,-lts}: $CARCH should be i686 in package() if it was pentium4 before
-rw-r--r--community/acpi_call-lts/PKGBUILD13
-rw-r--r--community/acpi_call/PKGBUILD13
2 files changed, 26 insertions, 0 deletions
diff --git a/community/acpi_call-lts/PKGBUILD b/community/acpi_call-lts/PKGBUILD
new file mode 100644
index 00000000..891b535f
--- /dev/null
+++ b/community/acpi_call-lts/PKGBUILD
@@ -0,0 +1,13 @@
+eval "$(
+ declare -f package \
+ | sed '
+ /\$CARCH/ {
+ h
+ s/^/[ "$CARCH" = pentium4 ] || /
+ p
+ g
+ s/\$CARCH/i686/g
+ s/^/[ "$CARCH" != pentium4 ] || /
+ }
+ '
+)"
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 ] || /
+ }
+ '
+)"