2014-05-30 17:32:26 +02:00
|
|
|
# Template file for 'void-repo-multilib'
|
|
|
|
pkgname=void-repo-multilib
|
2014-06-04 08:12:42 +02:00
|
|
|
version=3
|
2014-05-30 17:32:26 +02:00
|
|
|
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/-/\/}" > \
|
2014-06-04 08:12:42 +02:00
|
|
|
${DESTDIR}/usr/share/xbps/repo.d/10-${f}.conf
|
2014-05-30 17:32:26 +02:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
void-repo-multilib-nonfree_package() {
|
2014-05-30 17:38:51 +02:00
|
|
|
short_desc="${short_desc/multilib/multilib\/nonfree}"
|
2014-05-30 17:32:26 +02:00
|
|
|
pkg_install() {
|
2014-06-04 08:12:42 +02:00
|
|
|
vmove usr/share/xbps/repo.d/10-multilib-nonfree.conf
|
2014-05-30 17:32:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|