void-repo-multilib: update for xbps-0.42.
This commit is contained in:
parent
ddf9083134
commit
f0959a9a29
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'void-repo-multilib'
|
# Template file for 'void-repo-multilib'
|
||||||
pkgname=void-repo-multilib
|
pkgname=void-repo-multilib
|
||||||
version=3
|
version=4
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
only_for_archs="x86_64"
|
only_for_archs="x86_64"
|
||||||
|
@ -10,10 +10,13 @@ license="Public Domain"
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
vmkdir usr/share/xbps.d
|
||||||
vmkdir usr/share/xbps/repo.d
|
vmkdir usr/share/xbps/repo.d
|
||||||
for f in multilib multilib-nonfree; do
|
for f in multilib multilib-nonfree; do
|
||||||
echo "repository=http://repo.voidlinux.eu/current/${f/-/\/}" > \
|
echo "repository=http://repo.voidlinux.eu/current/${f/-/\/}" > \
|
||||||
${DESTDIR}/usr/share/xbps/repo.d/10-${f}.conf
|
${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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,6 +24,7 @@ void-repo-multilib-nonfree_package() {
|
||||||
short_desc="${short_desc/multilib/multilib\/nonfree}"
|
short_desc="${short_desc/multilib/multilib\/nonfree}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share/xbps/repo.d/10-multilib-nonfree.conf
|
vmove usr/share/xbps/repo.d/10-multilib-nonfree.conf
|
||||||
|
vmove usr/share/xbps.d/10-repository-multilib-nonfree.conf
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue