1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 19:07:07 +00:00
termux-packages/packages/termux-tools/build.sh
Henrik Grimler 507a3f29e8
termux-tools: update to 1.35.0
This removes the {u,}mount wrappers from the package, {u,}mount will
be provided by util-linux instead.
2022-12-28 09:12:32 +01:00

37 lines
1.3 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://termux.dev/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.35.0
TERMUX_PKG_SRCURL=https://github.com/termux/termux-tools/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=2406e11743b071855b6efc05d1f649efab59c7e8d446261fa2679220b95d9c0c
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true
TERMUX_PKG_BREAKS="termux-keyring (<< 1.9)"
TERMUX_PKG_CONFLICTS="procps (<< 3.3.15-2)"
TERMUX_PKG_SUGGESTS="termux-api"
TERMUX_PKG_CONFFILES="
etc/motd
etc/motd.sh
etc/motd-playstore
etc/profile.d/init-termux-properties.sh
etc/termux-login.sh
"
# Some of these packages are not dependencies and used only to ensure
# that core packages are installed after upgrading (we removed busybox
# from essentials).
TERMUX_PKG_DEPENDS="bzip2, coreutils, curl, dash, diffutils, findutils, gawk, grep, gzip, less, procps, psmisc, sed, tar, termux-am, termux-am-socket (>= 1.5.0), termux-exec, util-linux, xz-utils, dialog"
# Optional packages that are distributed as part of bootstrap archives.
TERMUX_PKG_RECOMMENDS="ed, dos2unix, inetutils, net-tools, patch, unzip"
termux_step_pre_configure() {
autoreconf -vfi
}
termux_step_post_make_install() {
cd "$TERMUX_PREFIX"
TERMUX_PKG_CONFFILES+=" $(find etc/termux/mirrors -type f)"
}