From 4f5d8f02a293ac810b6e0529e484e964d64f3d66 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Tue, 31 Jul 2018 20:50:32 +0200 Subject: [PATCH] Install last dependency for pkgxx. Install pkgxx and configure it. --- build | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/build b/build index 8d642ca..8a5d3a8 100755 --- a/build +++ b/build @@ -3,9 +3,30 @@ # Install pkgxx dependancies echo "> Installing Lua Split…" luarocks-5.1 install split || exit 1 +echo "> Installing build.zsh…" +git clone https://github.com/lukc/build.zsh && \ + cd build.zsh && \ + make && \ + make install && \ + cd .. && \ + rm -rf build.zsh || exit 1 +echo "> Installing pkgxx" +git clone https://github.com/lukc/pkgxx && \ + cd pkgxx && \ + make && \ + make install && \ + cp pkgxx.conf.example /etc/pkgxx.conf && \ + cd .. && \ + rm -rf pkgxx || exit 1 -# FIXME: need build.zsh +# Configure pkgxx +echo "> Configure pkgxx" +mkdir -p /opt/pkgxx/dev && \ + sed -i -e 's#prefix = .*$#prefix = "/opt/pkgxx/dev"#' \ + -e 's#distribution = .*$#distribution = "Alpine"#' \ + -e 's#package-manager = .*$#package-manager = "apk"#' \ + -e 's#repository-manager = .*$#repository-manager = "apk"#' \ + -e '/distribution-codename/d' \ + -e 's#provider = .*$#provider = "Dev Team"#' /etc/pkgxx.conf -# FIXME: install pkgxx -# FIXME: configure pkgxx # FIXME: DL yunoconfig