27 lines
692 B
Bash
27 lines
692 B
Bash
# Template file for 'void-repo-multilib'
|
|
pkgname=void-repo-multilib
|
|
version=6
|
|
revision=3
|
|
build_style=meta
|
|
archs="x86_64"
|
|
short_desc="Void Linux drop-in file for the multilib repository"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Public Domain"
|
|
homepage="http://www.voidlinux.org"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/xbps.d
|
|
for f in multilib multilib-nonfree; do
|
|
echo "repository=https://alpha.de.repo.voidlinux.org/current/${f/-/\/}" > \
|
|
${DESTDIR}/usr/share/xbps.d/10-repository-${f}.conf
|
|
done
|
|
}
|
|
|
|
void-repo-multilib-nonfree_package() {
|
|
short_desc="${short_desc/multilib/multilib\/nonfree}"
|
|
pkg_install() {
|
|
vmove usr/share/xbps.d/10-repository-multilib-nonfree.conf
|
|
}
|
|
}
|
|
|