diff --git a/d/chruby/SlackBuild b/d/chruby/SlackBuild index 228b7cfb..fa89423c 100755 --- a/d/chruby/SlackBuild +++ b/d/chruby/SlackBuild @@ -42,8 +42,9 @@ cd $TMP/$PRGNAM make -j3 PREFIX=$PREFIX # installation -make install PREFIX=$PREFIX DOC_DIR=$PREFIX/doc/$PRGNAM DESTDIR=$PKG -mv $PKG$PREFIX/share/man $PKG$PREFIX/man +mkdir -p $PKG +PREFIX=$PREFIX DOC_DIR=$PREFIX/doc/$PRGNAM DESTDIR=$PKG make install PREFIX=$PREFIX DOC_DIR=$PREFIX/doc/$PRGNAM DESTDIR=$PKG +[ -d $PKG$PREFIX/share/man ] && mv $PKG$PREFIX/share/man $PKG$PREFIX/man # correction cd $PKG diff --git a/d/ruby-install/SlackBuild b/d/ruby-install/SlackBuild index 310dfb07..1a42624b 100755 --- a/d/ruby-install/SlackBuild +++ b/d/ruby-install/SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # variables -GITHUB_REPO=${GITHUB_REPO} +GITHUB_REPO=postmodern/ruby-install VERSION=${VERSION:-latest} TAG=gwh