2014-05-30 15:30:32 +00:00
|
|
|
# Template file for 'void-repo-nonfree'
|
|
|
|
pkgname=void-repo-nonfree
|
2014-06-04 06:12:42 +00:00
|
|
|
version=3
|
2014-05-30 15:30:32 +00:00
|
|
|
revision=1
|
2014-05-30 15:33:37 +00:00
|
|
|
noarch=yes
|
2014-05-30 15:30:32 +00:00
|
|
|
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
|
2014-06-04 06:12:42 +00:00
|
|
|
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
|
2014-05-30 15:30:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void-repo-debug_package() {
|
|
|
|
noarch=yes
|
2014-05-30 15:38:18 +00:00
|
|
|
short_desc="${short_desc/nonfree/debug}"
|
2014-05-30 15:30:32 +00:00
|
|
|
pkg_install() {
|
2014-06-04 06:12:42 +00:00
|
|
|
vmove usr/share/xbps/repo.d/20-debug.conf
|
2014-05-30 15:30:32 +00:00
|
|
|
}
|
|
|
|
}
|