void-repo-*: update for xbps>=0.42.
This commit is contained in:
parent
c041b0b0f0
commit
8fead072c9
2 changed files with 2 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'void-repo-multilib'
|
||||
pkgname=void-repo-multilib
|
||||
version=4
|
||||
version=5
|
||||
revision=1
|
||||
build_style=meta
|
||||
only_for_archs="x86_64"
|
||||
|
@ -11,10 +11,7 @@ homepage="http://www.voidlinux.eu"
|
|||
|
||||
do_install() {
|
||||
vmkdir usr/share/xbps.d
|
||||
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/10-${f}.conf
|
||||
echo "repository=http://repo.voidlinux.eu/current/${f/-/\/}" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository-${f}.conf
|
||||
done
|
||||
|
@ -23,7 +20,6 @@ do_install() {
|
|||
void-repo-multilib-nonfree_package() {
|
||||
short_desc="${short_desc/multilib/multilib\/nonfree}"
|
||||
pkg_install() {
|
||||
vmove usr/share/xbps/repo.d/10-multilib-nonfree.conf
|
||||
vmove usr/share/xbps.d/10-repository-multilib-nonfree.conf
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'void-repo-nonfree'
|
||||
pkgname=void-repo-nonfree
|
||||
version=4
|
||||
version=5
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
|
@ -11,13 +11,8 @@ homepage="http://www.voidlinux.eu"
|
|||
|
||||
do_install() {
|
||||
vmkdir usr/share/xbps.d
|
||||
vmkdir usr/share/xbps/repo.d
|
||||
echo "repository=http://repo.voidlinux.eu/current/nonfree" > \
|
||||
${DESTDIR}/usr/share/xbps/repo.d/10-nonfree.conf
|
||||
echo "repository=http://repo.voidlinux.eu/current/nonfree" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
||||
echo "repository=http://repo.voidlinux.eu/current/debug" > \
|
||||
${DESTDIR}/usr/share/xbps/repo.d/20-debug.conf
|
||||
echo "repository=http://repo.voidlinux.eu/current/debug" > \
|
||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||
}
|
||||
|
@ -26,7 +21,6 @@ void-repo-debug_package() {
|
|||
noarch=yes
|
||||
short_desc="${short_desc/nonfree/debug}"
|
||||
pkg_install() {
|
||||
vmove usr/share/xbps/repo.d/20-debug.conf
|
||||
vmove usr/share/xbps.d/20-repository-debug.conf
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue