root-repo: Add package

This commit is contained in:
Fredrik Fornwall 2018-10-02 02:21:39 +02:00
parent 73b1719c82
commit 3636ff8dfc
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://github.com/termux/termux-root-packages
TERMUX_PKG_DESCRIPTION="Package repository containing programs for rooted devices"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=1.0
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apt/{sources.list.d,trusted.gpg.d}
echo "deb https://grimler.se root stable" > $TERMUX_PREFIX/etc/apt/sources.list.d/root.list
cp $TERMUX_PKG_BUILDER_DIR/grimler.gpg $TERMUX_PREFIX/etc/apt/trusted.gpg.d/
}

Binary file not shown.