summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-06-19 09:22:21 +0300
committerDimitris Kiziridis2020-06-19 09:22:21 +0300
commite6bcfc94cd2c3bc234a8ba1c6d87c170fbb119c4 (patch)
treee7f789e773c8e2506f72ca42a1edcabdbe20e27d
downloadaur-apk-editor-studio.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD44
-rw-r--r--deploy.pri.patch26
3 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7c6f504b447
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = apk-editor-studio
+ pkgdesc = Powerful yet easy to use APK editor
+ pkgver = 1.4.0
+ pkgrel = 1
+ url = https://qwertycube.com/apk-editor-studio
+ arch = x86_64
+ license = GPL3
+ makedepends = qt5-base
+ depends = qt5-base
+ depends = java-runtime>=8
+ depends = hicolor-icon-theme
+ depends = android-sdk-build-tools
+ depends = android-sdk-platform-tools
+ depends = android-apktool
+ optdepends = libsecret: Enable password manager backend
+ source = apk-editor-studio-1.4.0.tar.gz::https://github.com/kefir500/apk-editor-studio/archive/v1.4.0.tar.gz
+ source = deploy.pri.patch
+ sha256sums = 62f2830a282f44d4860330a8f371b1ac27676257fe39a70f6203d34a6633a5e5
+ sha256sums = SKIP
+
+pkgname = apk-editor-studio
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbc44fc3170
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=apk-editor-studio
+pkgver=1.4.0
+pkgrel=1
+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-sdk-build-tools'
+ 'android-sdk-platform-tools'
+ 'android-apktool')
+optdepends=('libsecret: Enable password manager backend')
+makedepends=('qt5-base')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kefir500/apk-editor-studio/archive/v${pkgver}.tar.gz"
+ 'deploy.pri.patch')
+sha256sums=('62f2830a282f44d4860330a8f371b1ac27676257fe39a70f6203d34a6633a5e5'
+ 'SKIP')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ patch < "${srcdir}/deploy.pri.patch"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ rm -rf build
+ mkdir build
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+ qmake PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -d "${pkgdir}/usr"
+ cp -R bin/linux/bin "${pkgdir}/usr"
+ cp -R bin/linux/share "${pkgdir}/usr"
+ chown -R root:root "${pkgdir}/"
+}
+# vim:set ts=2 sw=2 et: \ No newline at end of file
diff --git a/deploy.pri.patch b/deploy.pri.patch
new file mode 100644
index 00000000000..16bc4be28ea
--- /dev/null
+++ b/deploy.pri.patch
@@ -0,0 +1,26 @@
+--- src/deploy.pri 2020-05-01 09:50:23.000000000 +0300
++++ deploy.pri 2020-06-19 08:53:25.467347443 +0300
+@@ -27,11 +27,6 @@
+ QMAKE_POST_LINK += $$mkdir($$DESTDIR/../share/$$TARGET)
+ QMAKE_POST_LINK += $$copy(all/., ../share/$$TARGET)
+ QMAKE_POST_LINK += $$copy(linux/share, ..)
+- isEmpty(PACKAGE) {
+- QMAKE_POST_LINK += $$copy(linux/bin, ..)
+- QMAKE_POST_LINK += $$executable($$DESTDIR/adb)
+- QMAKE_POST_LINK += $$executable($$DESTDIR/zipalign)
+- }
+ # Install:
+ isEmpty(PREFIX): PREFIX = /usr
+ target.path = $$PREFIX/bin
+@@ -40,11 +35,6 @@
+ share2.files = $$PWD/res/deploy/linux/share/*
+ share2.path = $$PREFIX/share
+ INSTALLS += target share1 share2
+- isEmpty(PACKAGE) {
+- bin.files = $$PWD/res/deploy/linux/bin/*
+- bin.path = $$PREFIX/bin
+- INSTALLS += bin
+- }
+ }
+
+ macx {