This commit is contained in:
Gwenhael Le Moine 2022-02-15 09:59:19 +01:00
parent 1660f16f82
commit 756734aeb8
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -1,7 +1,7 @@
#!/bin/bash
# variables
GITHUB_REPO=${GITHUB_REPO}
GITHUB_REPO=postmodern/ruby-install
VERSION=${VERSION:-latest}
TAG=gwh