diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 25 insertions, 11 deletions
@@ -1,23 +1,37 @@ -# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> +# Maintainer: Filipe Bertelli <filipebertelli@tutanota.com> pkgname=apk-editor-studio-bin -pkgver=1.4.0 +pkgver=1.6.0 pkgrel=1 pkgdesc="Powerful yet easy to use APK editor" arch=('x86_64') provides=("${pkgname%-bin}") -url='https://qwertycube.com/apk-editor-studio' +url='https://github.com/kefir500/apk-editor-studio' license=('GPL3') depends=('qt5-base' 'java-runtime>=8' - 'hicolor-icon-theme' - 'android-sdk-build-tools' - 'android-sdk-platform-tools' - 'android-apktool') + 'hicolor-icon-theme') optdepends=('libsecret: Enable password manager backend') -source=("${pkgname}-${pkgver}.deb::https://github.com/kefir500/apk-editor-studio/releases/download/v${pkgver}/apk-editor-studio_linux_${pkgver}.deb") -sha256sums=('7383abad2a5996e02076173a4cbcbe417fce591531631a682c0aaaa7335d92d2') +source=("https://github.com/kefir500/apk-editor-studio/releases/download/v${pkgver}/apk-editor-studio_linux_${pkgver}.AppImage") +sha256sums=('181e3b75d3b31a3d8653700b90101d7897db7544e61c57fb606d2c6083eaf49f') + +prepare() { + chmod +x "${pkgname%-bin}_linux_$pkgver.AppImage" + ./"${pkgname%-bin}_linux_$pkgver.AppImage" --appimage-extract + + # Remove X-AppImage-Version + sed -i '/AppImage/d' "squashfs-root/${pkgname%-bin}.desktop" +} package() { - tar xvf data.tar.xz -C "${pkgdir}/" -}
\ No newline at end of file + install -d "$pkgdir/usr/bin" + install -Dm755 "squashfs-root/usr/bin/${pkgname%-bin}" -t "$pkgdir/usr/bin/" + + install -Dm644 "squashfs-root/${pkgname%-bin}.desktop" -t "$pkgdir/usr/share/applications/" + + install -d "$pkgdir/usr/share/${pkgname%-bin}" + cp -r "squashfs-root/usr/share/${pkgname%-bin}/" "$pkgdir/usr/share/" + + install -d "$pkgdir/usr/share/icons/" + cp -r squashfs-root/usr/share/icons/hicolor/ "$pkgdir/usr/share/icons/" +} |