updpkg: revanced-cli

This commit is contained in:
MedzikUser 2022-06-18 19:58:15 +02:00
parent 9d4e0c8a07
commit 44a5eaf27c
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
2 changed files with 12 additions and 1 deletions

View File

@ -1,12 +1,13 @@
# Maintainer: MedzikUser <nivua1fn@duck.com>
pkgname='revanced-cli'
pkgver="1.4.2"
pkgrel=1
pkgrel=2
pkgdesc='Command line application as an alternative to the ReVanced Manager'
arch=('x86_64')
url="https://github.com/revanced/revanced-cli"
license=('GPL3')
depends=('java-environment')
install='revanced-cli.install'
source=("${pkgname}.sh"
"${url}/releases/download/v${pkgver}/revanced-cli-${pkgver}-all.jar"
"${url}/raw/v${pkgver}/LICENSE")

View File

@ -0,0 +1,10 @@
post_upgrade() {
echo ">> revanced-cli -a some.apk -c -d device-name -o revanced.apk -b revanced-patches.jar --install"
echo ">> "
echo ">> See revanced wiki"
echo ">> https://github.com/revanced/revanced-documentation/wiki/Using-the-ReVanced-CLI-and-installing-ReVanced"
}
post_install() {
post_upgrade
}