[crystal] 1.2.0
This commit is contained in:
parent
3ca71278ac
commit
961f9f0368
1 changed files with 1 additions and 4 deletions
|
@ -5,7 +5,7 @@ CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=$(basename $CWD)
|
PRGNAM=$(basename $CWD)
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
BUILD=5
|
BUILD=6
|
||||||
|
|
||||||
TAG=gwh
|
TAG=gwh
|
||||||
OUTPUT=/tmp
|
OUTPUT=/tmp
|
||||||
|
@ -35,15 +35,12 @@ cd $PKG
|
||||||
tar xvf $REPOSITORY/crystal-${VERSION}-linux-${ARCH}.tar.gz
|
tar xvf $REPOSITORY/crystal-${VERSION}-linux-${ARCH}.tar.gz
|
||||||
mv crystal-$VERSION $PKG$PREFIX
|
mv crystal-$VERSION $PKG$PREFIX
|
||||||
mkdir -p $PKG$PREFIX/doc/
|
mkdir -p $PKG$PREFIX/doc/
|
||||||
mv $PKG$PREFIX/share/doc $PKG$PREFIX/doc/$PRGNAM
|
|
||||||
mv $PKG$PREFIX/share/licenses $PKG$PREFIX/doc/$PRGNAM
|
mv $PKG$PREFIX/share/licenses $PKG$PREFIX/doc/$PRGNAM
|
||||||
mv $PKG$PREFIX/share/man $PKG$PREFIX/
|
mv $PKG$PREFIX/share/man $PKG$PREFIX/
|
||||||
|
|
||||||
mkdir -p $PKG$PREFIX/share/zsh/site-functions/
|
mkdir -p $PKG$PREFIX/share/zsh/site-functions/
|
||||||
cp -R $REPOSITORY/completion.zsh $PKG$PREFIX/share/zsh/site-functions/_crystal
|
cp -R $REPOSITORY/completion.zsh $PKG$PREFIX/share/zsh/site-functions/_crystal
|
||||||
|
|
||||||
# sed -i "s|INSTALL_DIR=.*|INSTALL_DIR=$PREFIX/libexec/$PRGNAM|g" $PKG$PREFIX/bin/crystal
|
|
||||||
|
|
||||||
# packaging
|
# packaging
|
||||||
cd $PKG
|
cd $PKG
|
||||||
mkdir install
|
mkdir install
|
||||||
|
|
Loading…
Reference in a new issue