blob: 0f616a0dbfb02cff22a2f6a4d4f2be2d97f9ac85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=apk-editor-studio
pkgver=1.7.1
pkgrel=4
pkgdesc="Powerful yet easy to use APK editor"
arch=('x86_64')
url='https://qwertycube.com/apk-editor-studio'
license=('GPL3')
depends=('qt5-base'
'java-runtime>=8'
'hicolor-icon-theme'
'android-tools'
'android-sdk-build-tools'
'android-apktool')
optdepends=('libsecret: Enable password manager backend')
makedepends=('qt5-base' 'qt5-tools' 'cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kefir500/apk-editor-studio/archive/v${pkgver}.tar.gz")
sha256sums=('676d236c8025ae1b1ac15e9ebe0617eba1fb7bb7a2728841e6bbab451174d5c9')
prepare() {
cd "${pkgname}-${pkgver}"
}
build() {
cd "${pkgname}-${pkgver}"
rm -rf build
mkdir build
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -B ./build -DCMAKE_BUILD_TYPE=Release
cmake --build ./build
}
package() {
cd "${pkgname}-${pkgver}"
cmake --install ./build --prefix="${pkgdir}/usr"
ln -s /usr/share/android-apktool/apktool.jar "${pkgdir}/usr/share/apk-editor-studio/tools/"
ln -s /opt/android-sdk/build-tools/*/lib/apksigner.jar "${pkgdir}/usr/share/apk-editor-studio/tools/"
}
# vim:set ts=2 sw=2 et:
|