unstable-repo: use https://unstable.termux-mirror.ml as primary host

unstable.list is no longer a config to make switching to a new host unconditional.
This commit is contained in:
Leonid Pliushch 2021-02-06 16:04:34 +02:00
parent a0a6f7602e
commit 39a684b9fc
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -2,15 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/unstable-packages
TERMUX_PKG_DESCRIPTION="Package repository containing new/unstable programs and libraries."
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=4.1
TERMUX_PKG_VERSION=5.0
TERMUX_PKG_DEPENDS="termux-keyring"
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_CONFFILES="etc/apt/sources.list.d/unstable.list"
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apt/sources.list.d
echo "deb https://dl.bintray.com/xeffyr/unstable-packages unstable main" > $TERMUX_PREFIX/etc/apt/sources.list.d/unstable.list
echo "deb https://unstable.termux-mirror.ml unstable main" > $TERMUX_PREFIX/etc/apt/sources.list.d/unstable.list
}
termux_step_create_debscripts() {