New package: void-repo-musl{,-debug}.

This commit is contained in:
Juan RP 2015-05-08 17:31:48 +02:00
parent e3977343ea
commit 33e9856f96
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1 @@
void-repo-musl

View 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
}
}