From 8e27618ecf5bd879cd179f7a07b53a097f3f348b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 Oct 2018 12:59:06 +0200 Subject: remove hard coded architectures from architecture hacking (e.g. use "${arch[@]}" instead of "i486 i686 pentium3 x86_64") --- community/glfw/PKGBUILD | 4 ++-- community/rxvt-unicode/PKGBUILD | 2 +- extra/doxygen/PKGBUILD | 2 +- extra/gtkmm3/PKGBUILD | 2 +- extra/icedtea-web/PKGBUILD | 2 +- extra/java-openjfx/PKGBUILD | 4 ++-- extra/libpst/PKGBUILD | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/community/glfw/PKGBUILD b/community/glfw/PKGBUILD index bb9bc52c..c1005d82 100644 --- a/community/glfw/PKGBUILD +++ b/community/glfw/PKGBUILD @@ -1,11 +1,11 @@ eval "$( declare -f package_glfw-x11 | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_glfw-wayland | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_glfw-doc | \ sed ' diff --git a/community/rxvt-unicode/PKGBUILD b/community/rxvt-unicode/PKGBUILD index 96c983d4..751b25c1 100644 --- a/community/rxvt-unicode/PKGBUILD +++ b/community/rxvt-unicode/PKGBUILD @@ -1,7 +1,7 @@ eval "$( declare -f package_rxvt-unicode | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_rxvt-unicode-terminfo | \ sed ' diff --git a/extra/doxygen/PKGBUILD b/extra/doxygen/PKGBUILD index 0095f04c..45a93ff5 100644 --- a/extra/doxygen/PKGBUILD +++ b/extra/doxygen/PKGBUILD @@ -1,7 +1,7 @@ eval "$( declare -f package_doxygen | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_doxygen-doc | \ sed ' diff --git a/extra/gtkmm3/PKGBUILD b/extra/gtkmm3/PKGBUILD index 1e89309a..de2bf047 100644 --- a/extra/gtkmm3/PKGBUILD +++ b/extra/gtkmm3/PKGBUILD @@ -1,7 +1,7 @@ eval "$( declare -f package_gtkmm3 | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_gtkmm3-docs | \ sed ' diff --git a/extra/icedtea-web/PKGBUILD b/extra/icedtea-web/PKGBUILD index d8c186ad..e83c6850 100644 --- a/extra/icedtea-web/PKGBUILD +++ b/extra/icedtea-web/PKGBUILD @@ -1,7 +1,7 @@ eval "$( declare -f package_icedtea-web | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_icedtea-web-doc | \ sed ' diff --git a/extra/java-openjfx/PKGBUILD b/extra/java-openjfx/PKGBUILD index c8a26318..1a215076 100644 --- a/extra/java-openjfx/PKGBUILD +++ b/extra/java-openjfx/PKGBUILD @@ -1,11 +1,11 @@ eval "$( declare -f package_java-openjfx | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_java-openjfx-src | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_java-openjfx-doc | \ sed ' diff --git a/extra/libpst/PKGBUILD b/extra/libpst/PKGBUILD index 8ebd9181..5b0e2fb4 100644 --- a/extra/libpst/PKGBUILD +++ b/extra/libpst/PKGBUILD @@ -1,7 +1,7 @@ eval "$( declare -f package_libpst | \ sed ' - 2 a arch=(i486 i686 pentium3 x86_64) + 2 a arch=('"${arch[@]}"') ' declare -f package_libpst-docs | \ sed ' -- cgit v1.2.3-70-g09d2