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