void-repo-nonfree: update for xbps-0.42.

This commit is contained in:
Juan RP 2014-11-06 10:10:05 +01:00
parent e0bec4dbaa
commit ddf9083134
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'void-repo-nonfree'
pkgname=void-repo-nonfree
version=3
version=4
revision=1
noarch=yes
build_style=meta
@ -10,11 +10,16 @@ license="Public Domain"
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
}
void-repo-debug_package() {
@ -22,5 +27,6 @@ void-repo-debug_package() {
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
}
}