New package: void-repo-musl{,-debug}.
This commit is contained in:
parent
e3977343ea
commit
33e9856f96
2 changed files with 27 additions and 0 deletions
1
srcpkgs/void-repo-musl-debug
Symbolic link
1
srcpkgs/void-repo-musl-debug
Symbolic link
|
@ -0,0 +1 @@
|
|||
void-repo-musl
|
26
srcpkgs/void-repo-musl/template
Normal file
26
srcpkgs/void-repo-musl/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'void-repo-musl'
|
||||
pkgname=void-repo-musl
|
||||
version=1
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="Void Linux drop-in file for the main repository (musl libc)"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="Public Domain"
|
||||
homepage="http://www.voidlinux.eu"
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/xbps.d
|
||||
echo "repository=http://musl.voidlinux.net/current" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository.conf
|
||||
echo "repository=http://musl.voidlinux.net/current/debug" > \
|
||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||
}
|
||||
|
||||
void-repo-musl-debug_package() {
|
||||
noarch=yes
|
||||
short_desc="${short_desc/main/debug}"
|
||||
pkg_install() {
|
||||
vmove usr/share/xbps.d/20-repository-debug.conf
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue