Skip to content

Commit

Permalink
exatorrent: bump to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Nov 19, 2023
1 parent 5bf8621 commit a6859ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 87 deletions.
11 changes: 3 additions & 8 deletions tur/exatorrent/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ TERMUX_PKG_HOMEPAGE=https://github.com/varbhat/exatorrent
TERMUX_PKG_DESCRIPTION="Self-hostable, easy-to-use, lightweight, and feature-rich torrent client written in Go"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_VERSION="1.1.0"
TERMUX_PKG_VERSION="1.2.0"
TERMUX_PKG_SRCURL=https://github.com/varbhat/exatorrent/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=56f932a6c5950bc0035c81726ffbd2da188b6df4b19d8dd446a4f417bf52c8e3
TERMUX_PKG_SHA256=945dadae26c0f373d1f8f2f7146158f877ab591a82108e85220c544936822985
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_GO_USE_OLDER=true

termux_step_host_build() {
termux_setup_nodejs
Expand All @@ -24,14 +23,10 @@ termux_step_pre_configure() {
cp -r $TERMUX_PKG_HOSTBUILD_DIR/web/build $TERMUX_PKG_SRCDIR/internal/web/

termux_setup_golang
rm -rf $GOROOT

termux_setup_golang
( cd "$GOROOT"; . ${TERMUX_PKG_BUILDER_DIR}/fix-hardcoded-etc-resolv-conf.sh )
}

termux_step_make() {
go build -trimpath -buildmode=pie -ldflags '-extldflags "-s -w"' -o build/exatorrent exatorrent.go
go build -trimpath -buildmode=pie -ldflags '-extldflags "-s -w -Wl,--allow-multiple-definition"' -o build/exatorrent exatorrent.go
}

termux_step_make_install() {
Expand Down
71 changes: 0 additions & 71 deletions tur/exatorrent/fix-hardcoded-etc-resolv-conf.diff

This file was deleted.

8 changes: 0 additions & 8 deletions tur/exatorrent/fix-hardcoded-etc-resolv-conf.sh

This file was deleted.

0 comments on commit a6859ff

Please sign in to comment.