x11-testing-repo: easy access to x11-packages:testing

Now we have 'testing' X11 packages repo - specially for things that considered
as 'unstable' or under development.
This commit is contained in:
Leonid Pliushch 2018-11-22 14:32:01 +02:00 committed by Yaksh Bariya
parent 7b625f8208
commit 9d4f0b48b9
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=https://termux-x11.ml
TERMUX_PKG_DESCRIPTION="Package repository containing X11 programs and libraries (testing)"
TERMUX_PKG_VERSION=1.0
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_DEPENDS="x11-repo"
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apt/sources.list.d
echo "deb https://termux-x11.ml x11 testing" > $TERMUX_PREFIX/etc/apt/sources.list.d/x11-testing.list
}
termux_step_create_debscripts() {
{
echo "#!$TERMUX_PREFIX/bin/sh"
echo "echo Downloading updated package list ..."
echo "apt update"
echo "exit 0"
} > postinst
}