void-packages/srcpkgs/void-repo-nonfree/template

26 lines
605 B
Plaintext

# Template file for 'void-repo-nonfree'
pkgname=void-repo-nonfree
version=1
revision=1
build_style=meta
short_desc="Void Linux drop-in file for the nonfree repository"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public Domain"
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
}
void-repo-debug_package() {
noarch=yes
short_desc="${short_desc/nonfree/debug/}"
pkg_install() {
vmove usr/share/xbps/repo.d/debug.conf
}
}