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

x11.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:01:46 +02:00
parent 5d457e04a2
commit a0a6f7602e
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 2 additions and 3 deletions

View File

@ -2,15 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/x11-packages
TERMUX_PKG_DESCRIPTION="Package repository containing X11 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/x11.list"
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apt/sources.list.d
echo "deb https://dl.bintray.com/xeffyr/x11-packages x11 main" > $TERMUX_PREFIX/etc/apt/sources.list.d/x11.list
echo "deb https://x11.termux-mirror.ml x11 main" > $TERMUX_PREFIX/etc/apt/sources.list.d/x11.list
}
termux_step_create_debscripts() {