mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
New package: void-repo-bootstrap-1
This commit is contained in:
parent
610305a52c
commit
06f9e8d0a9
1 changed files with 28 additions and 0 deletions
28
srcpkgs/void-repo-bootstrap/template
Normal file
28
srcpkgs/void-repo-bootstrap/template
Normal 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
|
||||
}
|
Loading…
Add table
Reference in a new issue