New package: void-repo-bootstrap-1

This commit is contained in:
classabbyamp 2023-04-25 13:08:39 -04:00 committed by classabbyamp
parent 610305a52c
commit 06f9e8d0a9

View file

@ -0,0 +1,28 @@
# Template file for 'void-repo-bootstrap'
pkgname=void-repo-bootstrap
version=1
revision=1
build_style=meta
short_desc="Void Linux drop-in file for the bootstrap repository"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="http://www.voidlinux.org"
repository=bootstrap
do_install() {
vmkdir usr/share/xbps.d
case "$XBPS_TARGET_MACHINE" in
aarch64*)
echo "repository=https://repo-default.voidlinux.org/current/aarch64/bootstrap" > \
${DESTDIR}/usr/share/xbps.d/00-repository-bootstrap.conf
;;
*-musl)
echo "repository=https://repo-default.voidlinux.org/current/musl/bootstrap" > \
${DESTDIR}/usr/share/xbps.d/00-repository-bootstrap.conf
;;
*)
echo "repository=https://repo-default.voidlinux.org/current/bootstrap" > \
${DESTDIR}/usr/share/xbps.d/00-repository-bootstrap.conf
;;
esac
}