vagrant: unbreak.

The cleaning step of nokogiri gem seems to remove . which the gem
program doesn't like... but its only happens on overlayfs.
=> Disable cleaning and remove the ports directory manually.
This commit is contained in:
Christian Neukirchen 2015-12-26 17:28:38 +01:00
parent 19d7d80ab7
commit 1ff83e86d0

View file

@ -1,7 +1,3 @@
broken=yes
# http://build.voidlinux.eu/builders/x86_64_builder/builds/19642/steps/shell_3/logs/stdio
# xbps-src -t breaks it, without -t it works...
# Template file for 'vagrant'
pkgname=vagrant
version=1.7.4
@ -25,7 +21,7 @@ do_build() {
}
do_install() {
GEM_PATH=$DESTDIR/usr/lib/$pkgname GEM_HOME="$GEM_PATH" gem install $pkgname-$version.gem --no-ri --no-rdoc
GEM_PATH=$DESTDIR/usr/lib/$pkgname GEM_HOME="$GEM_PATH" gem install $pkgname-$version.gem --no-ri --no-rdoc -- --disable-clean
find ${DESTDIR} -type f -name \*.a -delete
find ${DESTDIR} -type f -name \*.log -delete
@ -49,6 +45,7 @@ do_install() {
find ${DESTDIR} -type d -name test -print0|xargs -0 rm -r --
find ${DESTDIR} -type d -name examples -print0|xargs -0 rm -r --
find ${DESTDIR} -type d -name doc -print0|xargs -0 rm -r --
find ${DESTDIR} -type d -name ports -print0|xargs -0 rm -r --
rm -r ${DESTDIR}/usr/lib/$pkgname/cache
vmkdir usr/bin