Merge branch 'new-packages'
This commit is contained in:
commit
50b5cc66ca
15
packages/await/build.sh
Normal file
15
packages/await/build.sh
Normal file
@ -0,0 +1,15 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://await-cli.app/
|
||||
TERMUX_PKG_DESCRIPTION="Runs list of commands in parallel and waits for their termination"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.91
|
||||
TERMUX_PKG_SRCURL=https://github.com/slavaGanzin/await/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=5970d8effb605210dceeabd01bc617af914b7e63e29e39a25e64758515796103
|
||||
|
||||
termux_step_make() {
|
||||
$CC $CPPFLAGS $CFLAGS "$TERMUX_PKG_SRCDIR"/await.c -o await $LDFLAGS
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin await
|
||||
}
|
16
packages/desed/build.sh
Normal file
16
packages/desed/build.sh
Normal file
@ -0,0 +1,16 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/SoptikHa2/desed
|
||||
TERMUX_PKG_DESCRIPTION="Demystifies and debugs your sed scripts"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.2.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/SoptikHa2/desed.git
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_rust
|
||||
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/desed
|
||||
}
|
16
packages/fcp/build.sh
Normal file
16
packages/fcp/build.sh
Normal file
@ -0,0 +1,16 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/Svetlitski/fcp
|
||||
TERMUX_PKG_DESCRIPTION="A significantly faster alternative to the classic Unix cp(1) command"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.2.1
|
||||
TERMUX_PKG_SRCURL=https://github.com/Svetlitski/fcp.git
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_rust
|
||||
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/fcp
|
||||
}
|
19
packages/gron/build.sh
Normal file
19
packages/gron/build.sh
Normal file
@ -0,0 +1,19 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/tomnomnom/gron
|
||||
TERMUX_PKG_DESCRIPTION="Transforms JSON into discrete assignments"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.6.1
|
||||
TERMUX_PKG_SRCURL=https://github.com/tomnomnom/gron.git
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_golang
|
||||
|
||||
go mod init || :
|
||||
go mod tidy
|
||||
go build
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin gron
|
||||
}
|
16
packages/lipl/build.sh
Normal file
16
packages/lipl/build.sh
Normal file
@ -0,0 +1,16 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/yxdunc/lipl
|
||||
TERMUX_PKG_DESCRIPTION="A command line tool that is similar to watch but has extended functions for commands outputing a number"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.1.3
|
||||
TERMUX_PKG_SRCURL=https://github.com/yxdunc/lipl.git
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_rust
|
||||
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/lipl
|
||||
}
|
19
packages/llama/build.sh
Normal file
19
packages/llama/build.sh
Normal file
@ -0,0 +1,19 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/antonmedv/llama
|
||||
TERMUX_PKG_DESCRIPTION="A terminal file manager"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.0.2
|
||||
TERMUX_PKG_SRCURL=https://github.com/antonmedv/llama.git
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_golang
|
||||
|
||||
go mod init || :
|
||||
go mod tidy
|
||||
go build
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin llama
|
||||
}
|
22
packages/miller/build.sh
Normal file
22
packages/miller/build.sh
Normal file
@ -0,0 +1,22 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://miller.readthedocs.io/
|
||||
TERMUX_PKG_DESCRIPTION="Like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON"
|
||||
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=6.0.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/johnkerl/miller.git
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_golang
|
||||
|
||||
export GOPATH=$TERMUX_PKG_BUILDDIR
|
||||
local dir="$GOPATH"/src/github.com/johnkerl/miller
|
||||
mkdir -p "$(dirname "${dir}")"
|
||||
ln -sfT "$TERMUX_PKG_SRCDIR" "${dir}"
|
||||
TERMUX_PKG_BUILDDIR="${dir}"
|
||||
cd "${dir}"
|
||||
}
|
||||
|
||||
termux_step_configure() {
|
||||
:
|
||||
}
|
33
packages/odin/build.sh
Normal file
33
packages/odin/build.sh
Normal file
@ -0,0 +1,33 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://odin-lang.org/
|
||||
TERMUX_PKG_DESCRIPTION="The Odin programming language"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2022.01
|
||||
TERMUX_PKG_SRCURL=https://github.com/odin-lang/Odin/archive/refs/tags/dev-${TERMUX_PKG_VERSION//./-}.tar.gz
|
||||
TERMUX_PKG_SHA256=44fcae303462f95b042423e93f08e096b14a55f2db1cfcf3d6b5a64f10621833
|
||||
TERMUX_PKG_DEPENDS="libiconv, libllvm"
|
||||
|
||||
# ```
|
||||
# [...]/src/gb/gb.h:6754:2: error: "gb_rdtsc not supported"
|
||||
# #error "gb_rdtsc not supported"
|
||||
# ^
|
||||
# ```
|
||||
TERMUX_PKG_BLACKLISTED_ARCHES="arm"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
if [ "$TERMUX_PKG_API_LEVEL" -lt 28 ]; then
|
||||
CPPFLAGS+=" -Daligned_alloc=memalign"
|
||||
fi
|
||||
LDFLAGS+=" -lLLVM -liconv"
|
||||
}
|
||||
|
||||
termux_step_make() {
|
||||
for s in src/main.cpp src/libtommath.cpp; do
|
||||
$CXX $CPPFLAGS $CXXFLAGS -c $TERMUX_PKG_SRCDIR/$s
|
||||
done
|
||||
$CXX $CXXFLAGS main.o libtommath.o -o odin $LDFLAGS
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin odin
|
||||
}
|
17
packages/rip/build.sh
Normal file
17
packages/rip/build.sh
Normal file
@ -0,0 +1,17 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/nivekuil/rip
|
||||
TERMUX_PKG_DESCRIPTION="A command-line deletion tool focused on safety, ergonomics, and performance"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.13.1
|
||||
TERMUX_PKG_SRCURL=https://github.com/nivekuil/rip.git
|
||||
TERMUX_PKG_GIT_BRANCH="${TERMUX_PKG_VERSION}"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_rust
|
||||
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/rip
|
||||
}
|
19
packages/up/build.sh
Normal file
19
packages/up/build.sh
Normal file
@ -0,0 +1,19 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/akavel/up
|
||||
TERMUX_PKG_DESCRIPTION="Helps interactively and incrementally explore textual data in Linux"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.4
|
||||
TERMUX_PKG_SRCURL=https://github.com/akavel/up.git
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_golang
|
||||
|
||||
go mod init || :
|
||||
go mod tidy
|
||||
go build
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin up
|
||||
}
|
19
packages/viddy/build.sh
Normal file
19
packages/viddy/build.sh
Normal file
@ -0,0 +1,19 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/sachaos/viddy
|
||||
TERMUX_PKG_DESCRIPTION="A modern watch command"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.3.4
|
||||
TERMUX_PKG_SRCURL=https://github.com/sachaos/viddy.git
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_golang
|
||||
|
||||
go mod init || :
|
||||
go mod tidy
|
||||
go build
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 -t $TERMUX_PREFIX/bin viddy
|
||||
}
|
Loading…
Reference in New Issue
Block a user