New package: void-repo-musl{,-debug}.
This commit is contained in:
parent
e3977343ea
commit
33e9856f96
|
@ -0,0 +1 @@
|
|||
void-repo-musl
|
|
@ -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 New Issue