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

27 lines
702 B
Plaintext
Raw Normal View History

# Template file for 'void-repo-nonfree'
pkgname=void-repo-nonfree
version=3
revision=1
2014-05-30 17:33:37 +02:00
noarch=yes
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
echo "repository=http://repo.voidlinux.eu/current/nonfree" > \
${DESTDIR}/usr/share/xbps/repo.d/10-nonfree.conf
echo "repository=http://repo.voidlinux.eu/current/debug" > \
${DESTDIR}/usr/share/xbps/repo.d/20-debug.conf
}
void-repo-debug_package() {
noarch=yes
short_desc="${short_desc/nonfree/debug}"
pkg_install() {
vmove usr/share/xbps/repo.d/20-debug.conf
}
}