-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
28 lines (27 loc) · 856 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}