aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder/xbps/unix/linux
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-08-16 08:49:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-08-16 08:49:42 -0300
commitc27a30de2980fcdd9a048ef1c50555cc84f288c4 (patch)
tree4bd98489137fe7b5dabe3a1301a4c3d859fd48f3 /share/hoarder/xbps/unix/linux
parent0c5a15f83971bff29ebc380a6f78a2f66d70b15d (diff)
downloadtrashman-c27a30de2980fcdd9a048ef1c50555cc84f288c4.tar.gz
trashman-c27a30de2980fcdd9a048ef1c50555cc84f288c4.tar.bz2
Fix: xbps: hoarder and trashman installs
Diffstat (limited to 'share/hoarder/xbps/unix/linux')
-rwxr-xr-xshare/hoarder/xbps/unix/linux/debian/install11
1 files changed, 6 insertions, 5 deletions
diff --git a/share/hoarder/xbps/unix/linux/debian/install b/share/hoarder/xbps/unix/linux/debian/install
index 4652ad1..a6fc256 100755
--- a/share/hoarder/xbps/unix/linux/debian/install
+++ b/share/hoarder/xbps/unix/linux/debian/install
@@ -2,6 +2,7 @@
#
# Install XBPS package manager.
#
+
# Parameters
SHARE="$1"
LIB="$2"
@@ -19,11 +20,11 @@ trashman_apt_install make gcc zlib1g-dev pkg-config libarchive-dev graphviz doxy
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
+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=$DESTDIR --sysconfdir=$DESTDIR/etc || exit 1
+make -j$(nproc) || exit 1
+make DESTDIR=$DESTDIR install clean || exit 1
# Remove source
#rm -rf $HOME/.local/src/xbps