void-packages/srcpkgs/void-repo-multilib/template

27 lines
678 B
Plaintext
Raw Normal View History

# Template file for 'void-repo-multilib'
pkgname=void-repo-multilib
version=3
revision=1
build_style=meta
only_for_archs="x86_64"
short_desc="Void Linux drop-in file for the multilib 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 multilib multilib-nonfree; do
echo "repository=http://repo.voidlinux.eu/current/${f/-/\/}" > \
${DESTDIR}/usr/share/xbps/repo.d/10-${f}.conf
done
}
void-repo-multilib-nonfree_package() {
short_desc="${short_desc/multilib/multilib\/nonfree}"
pkg_install() {
vmove usr/share/xbps/repo.d/10-multilib-nonfree.conf
}
}