From 1661411e226a7aa5f98427aa20b0347ac990ca0f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 5 Oct 2018 11:18:48 +0200 Subject: core/glib2: make glib2-docs "any" arch instead of i686 --- core/glib2/PKGBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'core/glib2/PKGBUILD') diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD index ae229167..27be5242 100644 --- a/core/glib2/PKGBUILD +++ b/core/glib2/PKGBUILD @@ -1,6 +1,17 @@ +eval "$( + declare -f package_glib2 | \ + sed ' + 2 a arch=(i486 i686 pentium3 x86_64) + ' + declare -f package_glib2-docs | \ + sed ' + 2 a arch=(any) + ' +)" + # i486-specific if [ "${CARCH}" = "i486" ]; then - # no documentation + # documentation is not built by i486 slave makedepends=(${makedepends[@]//gtk-doc/}) eval "$( declare -f build | \ @@ -16,8 +27,6 @@ if [ "${CARCH}" = "i486" ]; then ' )" - pkgname=(${pkgname[@]//glib2-docs}) - # all but one test succeed, for now disable testing # ERROR: timer - too few tests run (expected 7, got 0) # ERROR: timer - exited with status 134 (terminated by signal 6?) -- cgit v1.2.3-70-g09d2