Merge branch 'master' of github.com:gwenhael-le-moine/slackbuilds
This commit is contained in:
commit
ae3ab82b57
4 changed files with 10 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -43,3 +43,4 @@ xap/st/patches/st-vertcenter*
|
|||
/ap/hledger-bin/LICENSE.*
|
||||
/ap/hledger-bin/*.md.*
|
||||
/xap/x49gp/newrplfw.bin
|
||||
/d/crystal/completion.zsh
|
||||
|
|
|
@ -19,7 +19,7 @@ mkdir -p $REPOSITORY
|
|||
|
||||
echo $ARCH | grep -q 64 && SRC_ARCH=x64
|
||||
DOCS="CHANGES.md CONTRIBUTING.md CREDITS.md LICENSE README.md ROADMAP.md"
|
||||
wget -c https://github.com/simonmichael/hledger/releases/download/${VERSION}/hledger-linux-static-${SRC_ARCH}.zip -O $REPOSITORY/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip
|
||||
wget -c https://github.com/simonmichael/hledger/releases/download/${VERSION}/hledger-linux-${SRC_ARCH}.zip -O $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.zip
|
||||
for d in $DOCS; do
|
||||
wget -c https://raw.githubusercontent.com/simonmichael/hledger/${VERSION}/${d} -O $REPOSITORY/${d}.${VERSION}
|
||||
done
|
||||
|
@ -27,10 +27,10 @@ rm -fr $PKG
|
|||
|
||||
mkdir -p $PKG$PREFIX/bin
|
||||
cd $PKG$PREFIX/bin
|
||||
unzip $REPOSITORY/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip
|
||||
mv hledger-linux-static-${SRC_ARCH} hledger
|
||||
mv hledger-ui-linux-static-${SRC_ARCH} hledger-ui
|
||||
mv hledger-web-linux-static-${SRC_ARCH} hledger-web
|
||||
unzip $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.zip
|
||||
mv hledger-linux-${SRC_ARCH} hledger
|
||||
mv hledger-ui-linux-${SRC_ARCH} hledger-ui
|
||||
mv hledger-web-linux-${SRC_ARCH} hledger-web
|
||||
chmod +x $PKG$PREFIX/bin/*
|
||||
|
||||
mkdir -p $PKG$PREFIX/doc/hledger/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
GITHUB_REPO=${GITHUB_REPO}
|
||||
GITHUB_REPO=postmodern/ruby-install
|
||||
VERSION=${VERSION:-latest}
|
||||
|
||||
TAG=gwh
|
||||
|
|
Loading…
Reference in a new issue