diff options
Diffstat (limited to 'share/hoarder/xbps/unix/linux')
-rwxr-xr-x | share/hoarder/xbps/unix/linux/debian/install | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/share/hoarder/xbps/unix/linux/debian/install b/share/hoarder/xbps/unix/linux/debian/install new file mode 100755 index 0000000..daefbb2 --- /dev/null +++ b/share/hoarder/xbps/unix/linux/debian/install @@ -0,0 +1,29 @@ +#!/usr/bin/env sh +# +# Install XBPS package manager. +# +# Parameters +SHARE="$1" +LIB="$2" +DESTDIR="$HOME/.xbps" + +# Include basic functions +. $LIB/trashman/functions || exit 1 +. $LIB/trashman/debian || exit 1 + +# Requirements +trashman_apt_install make gcc zlib1g-dev pkgconfig libarchive-dev graphviz doxygen +#trashman_apt_install atf-sh + +# Source folder +mkdir -p $HOME/.local/src + +# Build and install +git clone https://github.com/void-linux/xbps $HOME/.local/src/xbps || exit 1 +cd $HOME/.local/src/xbps || exit 1 +./configure --enable-rpath --prefix=/usr --sysconfdir=/etc || exit 1 +make -j$(nproc) || exit 1 +make DESTDIR=$DESTDIR install clean || exit 1 + +# Remove source +#rm -rf $HOME/.local/src/xbps |