From d215dd09cb60ed38dbcffe14f0c7cc748645ad79 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 12 Mar 2022 17:43:28 +0000 Subject: removed bashisms --- repo/devel/docbook-xml.xibuild | 3 ++- repo/devel/docbook4-xml.xibuild | 2 +- repo/devel/gdb.xibuild | 16 ++++++++-------- repo/system/glib.xibuild | 5 ++++- repo/system/libxslt.xibuild | 3 ++- 5 files changed, 17 insertions(+), 12 deletions(-) (limited to 'repo') diff --git a/repo/devel/docbook-xml.xibuild b/repo/devel/docbook-xml.xibuild index cf119ad..56efc6c 100644 --- a/repo/devel/docbook-xml.xibuild +++ b/repo/devel/docbook-xml.xibuild @@ -8,7 +8,8 @@ SOURCE=https://docbook.org/xml/$PKG_VER/docbook-v$PKG_VER-os.zip DESC="A widely used XML scheme for writing documentation and help" package () { - install -dm755 $PKG_DEST/usr/share/xml/docbook/schema/{rng,sch}/$PKG_VER && + install -dm755 $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER && + install -dm755 $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER && install -m644 schemas/rng/* $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER && install -m644 schemas/sch/* $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER && install -m755 tools/db4-entities.pl $PKG_DEST/usr/bin && diff --git a/repo/devel/docbook4-xml.xibuild b/repo/devel/docbook4-xml.xibuild index ba31b18..da2a4c7 100644 --- a/repo/devel/docbook4-xml.xibuild +++ b/repo/devel/docbook4-xml.xibuild @@ -28,7 +28,7 @@ package () { cd .. done - } +} postinstall () { for v in $VERSIONS; do diff --git a/repo/devel/gdb.xibuild b/repo/devel/gdb.xibuild index 49d8d49..055576e 100644 --- a/repo/devel/gdb.xibuild +++ b/repo/devel/gdb.xibuild @@ -18,14 +18,14 @@ build () { } -check () { - pushd gdb/testsuite && - make site.exp && - echo "set gdb_test_timeout 120" >> site.exp && - runtest - popd - -} +#check () { +# cd gdb/testsuite && +# make site.exp && +# echo "set gdb_test_timeout 120" >> site.exp && +# runtest +# cd ../.. +# +#} package () { make -C gdb DESTDIR=$PKG_DEST install diff --git a/repo/system/glib.xibuild b/repo/system/glib.xibuild index 264fa29..2dcffeb 100644 --- a/repo/system/glib.xibuild +++ b/repo/system/glib.xibuild @@ -20,6 +20,9 @@ build () { package () { DESTDIR=$PKG_DEST ninja install mkdir -p $PKG_DEST/usr/share/doc/glib-$PKG_VER && - cp -r ../docs/reference/{NEWS,gio,glib,gobject} $PKG_DEST/usr/share/doc/glib-$PKG_VER + cp -r ../docs/reference/NEWS $PKG_DEST/usr/share/doc/glib-$PKG_VER + cp -r ../docs/reference/gio $PKG_DEST/usr/share/doc/glib-$PKG_VER + cp -r ../docs/reference/glib $PKG_DEST/usr/share/doc/glib-$PKG_VER + cp -r ../docs/reference/gobject $PKG_DEST/usr/share/doc/glib-$PKG_VER } diff --git a/repo/system/libxslt.xibuild b/repo/system/libxslt.xibuild index d6dacc6..805925f 100644 --- a/repo/system/libxslt.xibuild +++ b/repo/system/libxslt.xibuild @@ -9,7 +9,8 @@ DESC="XML stylesheet transformation library" prepare () { - sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} && + sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.xml && + sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.1 && sed -i -r '/max(Parser)?Depth/d' ./tests/fuzz/fuzz.c } -- cgit v1.2.1