summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD15
3 files changed, 21 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07bed3afe35..a477d9c985b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,20 @@
pkgbase = android-backup-extractor-git
pkgdesc = Utility to extract and repack Android backups created with adb backup
- pkgver = r111.47bb1dd
- pkgrel = 3
+ pkgver = r113.07bb660
+ pkgrel = 1
url = https://github.com/nelenkov/android-backup-extractor
arch = any
- license = apache
+ license = custom:Apache
makedepends = git
makedepends = apache-ant
makedepends = java-environment>=11
depends = bcprov
- depends = java-runtime>=11
- provides = abe
+ depends = java-runtime-headless>=11
+ depends = sh
+ provides = abe.jar
+ provides = android-backup-extractor
+ conflicts = abe
+ conflicts = android-backup-extractor
source = android-backup-extractor-git::git+https://github.com/nelenkov/android-backup-extractor.git
sha256sums = SKIP
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index cab06993ec1..990d1d8c825 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,16 @@
# Maintainer: Marcell Meszaros < marcell.meszaros AT runbox.eu >
pkgname=android-backup-extractor-git
-pkgver=r111.47bb1dd
-pkgrel=3
+pkgver=r113.07bb660
+pkgrel=1
pkgdesc="Utility to extract and repack Android backups created with adb backup"
arch=('any')
makedepends=('git' 'apache-ant' 'java-environment>=11')
-depends=('bcprov' 'java-runtime>=11')
+depends=('bcprov' 'java-runtime-headless>=11' 'sh')
url="https://github.com/nelenkov/android-backup-extractor"
-license=('apache')
-provides=('abe')
+license=('custom:Apache') # Apache 2.0 license with copyright notice
+provides=('abe.jar' 'android-backup-extractor')
+conflicts=('abe' 'android-backup-extractor')
source=("$pkgname"::git+${url}.git)
sha256sums=('SKIP')
@@ -30,8 +31,8 @@ prepare() {
# do not use the bundled abe script, a simple wrapper is good enough
echo '#!/bin/sh' > arch-abe
- echo "CP=/usr/share/java/bcprov/bcprov.jar:/usr/share/java/${pkgname}/abe.jar" >> arch-abe
- echo 'exec /usr/bin/java -cp $CP org.nick.abe.Main "$@"' >> arch-abe
+ echo "CP=\"/usr/share/java/bcprov/bcprov.jar:/usr/share/java/${pkgname}/abe.jar\"" >> arch-abe
+ echo 'exec /usr/bin/java -cp "$CP" org.nick.abe.Main "$@"' >> arch-abe
chmod +x arch-abe
}