live-bootstrap/sysc/xbps-0.59.1/xbps-0.59.1.sh
fosslinux 8008de8e73 Add file downloading logic
Add urls to sysc, and modify some tarballs to http (non s) before ssl
2022-06-10 13:30:58 +10:00

22 lines
643 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
urls="https://github.com/void-linux/xbps/archive/refs/tags/0.59.1.tar.gz"
src_configure() {
PKG_CONFIG_PATH="${PREFIX}/lib/musl/pkgconfig" \
./configure --prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--pkgconfigdir="${PREFIX}/lib/musl/pkgconfig" \
--enable-rpath \
--enable-static
echo "CFLAGS += -Wno-error" >> config.mk
}
src_install() {
default
rm "${DESTDIR}${PREFIX}/lib/musl/libxbps.so"*
rm -r "${DESTDIR}${PREFIX}/share/bash-completion/completions"
}