apt: update default repository url

Using packages.termux.org since it is now a primary host.
This commit is contained in:
Leonid Pliushch 2021-06-03 16:07:34 +03:00
parent 3ff64f973d
commit c9c1187857
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.3.5
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://deb.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=7278d58ef73bef3569d800c176c1824a9913a641396573efc1c94116565cef9c
# apt-key requires utilities from coreutils, findutils, gpgv, grep, sed.
@ -61,7 +62,7 @@ termux_step_pre_configure() {
}
termux_step_post_make_install() {
printf "# The main termux repository:\ndeb https://termux.org/packages/ stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list
printf "# The main termux repository:\ndeb https://packages.termux.org/apt/termux-main/ stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list
cp $TERMUX_PKG_BUILDER_DIR/trusted.gpg $TERMUX_PREFIX/etc/apt/
# apt-transport-tor