From 1660f16f82b2bd1cc1b74e6054d2c8d0145b2123 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 15 Feb 2022 09:58:51 +0100 Subject: [PATCH 1/3] [hledger-bin] archive name change --- ap/hledger-bin/SlackBuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ap/hledger-bin/SlackBuild b/ap/hledger-bin/SlackBuild index 79a838ef..d55e1352 100755 --- a/ap/hledger-bin/SlackBuild +++ b/ap/hledger-bin/SlackBuild @@ -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/ From 756734aeb817896aab255b2b8419d9a7c190d51d Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 15 Feb 2022 09:59:19 +0100 Subject: [PATCH 2/3] fixes --- d/chruby/SlackBuild | 5 +++-- d/ruby-install/SlackBuild | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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 From e71e4a0888ceeeb1509b9191ef184e07d0f62fe6 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 15 Feb 2022 10:00:16 +0100 Subject: [PATCH 3/3] ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index b8cd47b7..64d7460a 100644 --- a/.gitignore +++ b/.gitignore @@ -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