void-repo-{nonfree,multilib}: name repo conf files appropiately for alphasort.

This commit is contained in:
Juan RP 2014-06-04 08:12:42 +02:00
parent 96dbd73089
commit f877d39b80
2 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# Template file for 'void-repo-multilib'
pkgname=void-repo-multilib
version=2
version=3
revision=1
build_style=meta
only_for_archs="x86_64"
@ -13,14 +13,14 @@ do_install() {
vmkdir usr/share/xbps/repo.d
for f in multilib multilib-nonfree; do
echo "repository=http://repo.voidlinux.eu/current/${f/-/\/}" > \
${DESTDIR}/usr/share/xbps/repo.d/${f}.conf
${DESTDIR}/usr/share/xbps/repo.d/10-${f}.conf
done
}
void-repo-multilib-nonfree_package() {
short_desc="${short_desc/multilib/multilib\/nonfree}"
pkg_install() {
vmove usr/share/xbps/repo.d/multilib-nonfree.conf
vmove usr/share/xbps/repo.d/10-multilib-nonfree.conf
}
}

View file

@ -1,6 +1,6 @@
# Template file for 'void-repo-nonfree'
pkgname=void-repo-nonfree
version=2
version=3
revision=1
noarch=yes
build_style=meta
@ -11,16 +11,16 @@ homepage="http://www.voidlinux.eu"
do_install() {
vmkdir usr/share/xbps/repo.d
for f in debug nonfree; do
echo "repository=http://repo.voidlinux.eu/current/${f}" > \
${DESTDIR}/usr/share/xbps/repo.d/${f}.conf
done
echo "repository=http://repo.voidlinux.eu/current/nonfree" > \
${DESTDIR}/usr/share/xbps/repo.d/10-nonfree.conf
echo "repository=http://repo.voidlinux.eu/current/debug" > \
${DESTDIR}/usr/share/xbps/repo.d/20-debug.conf
}
void-repo-debug_package() {
noarch=yes
short_desc="${short_desc/nonfree/debug}"
pkg_install() {
vmove usr/share/xbps/repo.d/debug.conf
vmove usr/share/xbps/repo.d/20-debug.conf
}
}