2014-05-30 15:32:26 +00:00
|
|
|
# Template file for 'void-repo-multilib'
|
|
|
|
pkgname=void-repo-multilib
|
2014-12-23 17:03:20 +00:00
|
|
|
version=5
|
2014-05-30 15:32:26 +00: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() {
|
2014-11-06 09:11:04 +00:00
|
|
|
vmkdir usr/share/xbps.d
|
2014-05-30 15:32:26 +00:00
|
|
|
for f in multilib multilib-nonfree; do
|
2014-11-06 09:11:04 +00:00
|
|
|
echo "repository=http://repo.voidlinux.eu/current/${f/-/\/}" > \
|
|
|
|
${DESTDIR}/usr/share/xbps.d/10-repository-${f}.conf
|
2014-05-30 15:32:26 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
void-repo-multilib-nonfree_package() {
|
2014-05-30 15:38:51 +00:00
|
|
|
short_desc="${short_desc/multilib/multilib\/nonfree}"
|
2014-05-30 15:32:26 +00:00
|
|
|
pkg_install() {
|
2014-11-06 09:11:04 +00:00
|
|
|
vmove usr/share/xbps.d/10-repository-multilib-nonfree.conf
|
2014-05-30 15:32:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|