From f7cff25abcc1b0e509d4478bdf685873ea17fe06 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 2 Jan 2022 23:25:08 +0000 Subject: moved fakeroot to extra and updated postinstall for xipkg --- repo/extra/fakechroot.xibuild | 13 +++++++++++++ repo/extra/fakeroot.xibuild | 12 ++++++++++++ repo/extra/xipkg.xibuild | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 repo/extra/fakechroot.xibuild create mode 100644 repo/extra/fakeroot.xibuild (limited to 'repo/extra') diff --git a/repo/extra/fakechroot.xibuild b/repo/extra/fakechroot.xibuild new file mode 100644 index 0000000..2b9560b --- /dev/null +++ b/repo/extra/fakechroot.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(sh perl) + +SOURCE=https://github.com/dex4er/fakechroot +DESC="Gives a fake chroot environment" + +build () { + ./autogen.sh + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/extra/fakeroot.xibuild b/repo/extra/fakeroot.xibuild new file mode 100644 index 0000000..650f18c --- /dev/null +++ b/repo/extra/fakeroot.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc filesystem sed sh util-linux) + +SOURCE=https://github.com/mackyle/fakeroot +DESC="Tool for simulating a superuser environment" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/extra/xipkg.xibuild b/repo/extra/xipkg.xibuild index b8bf2e8..0779c1c 100644 --- a/repo/extra/xipkg.xibuild +++ b/repo/extra/xipkg.xibuild @@ -12,5 +12,5 @@ build () { postinstall () { echo "TESTING POSTINSTALL" - pip3 install requests + pip3 install --root $ROOT requests } -- cgit v1.2.1