Add android-apkeditor-bin

This commit is contained in:
2026-02-23 11:32:28 +02:00
parent 469ae0ea26
commit c1542f3336
4 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Maintainer: Dominykas Svetikas <archlinux@svetikas.lt>
# Based on PKGBUILD for android-apktool-bin
_pkgname=android-apkeditor
pkgname=${_pkgname}-bin
pkgdesc="A powerful Android APK resources editor"
pkgver=1.4.7
pkgrel=1
arch=(any)
url="https://github.com/REAndroid/APKEditor"
license=("Apache-2.0")
depends=("java-runtime>=8")
provides=("${_pkgname}")
conflicts=("${_pkgname}" "${_pkgname}-git")
source=(
"https://github.com/REAndroid/APKEditor/releases/download/V${pkgver}/APKEditor-${pkgver}.jar"
"apkeditor"
)
sha256sums=(
'bec1dd156850df8392c9a45a735b86ae71bc913325ee029ffbb4080a8b41ca1c'
'fe9190ee1f89414afa2ec1629023a4b802ad73acac1ff65b859c128c95895f3b'
)
noextract=("APKEditor-${pkgver}.jar")
package() {
# copy the main .jar file
install -Dm644 "APKEditor-${pkgver}.jar" "${pkgdir}/usr/share/java/${_pkgname}/apkeditor.jar"
# copy the executable script
install -Dm755 apkeditor "${pkgdir}/usr/bin/apkeditor"
}