1 # Template file for 'void-repo-nonfree'
2 pkgname=void-repo-nonfree
7 short_desc="Void Linux drop-in file for the nonfree repository"
8 maintainer="Juan RP <xtraeme@voidlinux.eu>"
9 license="Public Domain"
10 homepage="http://www.voidlinux.eu"
13 vmkdir usr/share/xbps.d
14 case "$XBPS_TARGET_MACHINE" in
16 echo "repository=https://repo.voidlinux.eu/current/musl/nonfree" > \
17 ${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
18 echo "repository=https://repo.voidlinux.eu/current/musl/debug" > \
19 ${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
22 echo "repository=https://repo.voidlinux.eu/current/nonfree" > \
23 ${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
24 echo "repository=https://repo.voidlinux.eu/current/debug" > \
25 ${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
30 void-repo-debug_package() {
32 short_desc="${short_desc/nonfree/debug}"
34 vmove usr/share/xbps.d/20-repository-debug.conf