summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-05 11:18:48 +0200
committerErich Eckner <git@eckner.net>2018-10-05 11:18:48 +0200
commit1661411e226a7aa5f98427aa20b0347ac990ca0f (patch)
treeb6af1440bbfd4a0cf2174f7a1d8ecb8b78182204
parenta5f87ab459292c93b84567f97e19d4d29050faa1 (diff)
downloadpackages-1661411e226a7aa5f98427aa20b0347ac990ca0f.tar.xz
core/glib2: make glib2-docs "any" arch instead of i686
-rw-r--r--core/glib2/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
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?)