33 lines
1.7 KiB
Text
33 lines
1.7 KiB
Text
pkgname=postmarketos-android-recovery-installer
|
|
pkgver=0.0.3
|
|
pkgrel=1
|
|
pkgdesc="TWRP compatible postmarketOS installer script"
|
|
url="https://github.com/postmarketOS"
|
|
# multipath-tools: kpartx
|
|
depends="busybox-extras lddtree cryptsetup multipath-tools device-mapper parted util-linux zip"
|
|
source="build_zip.sh
|
|
update-binary
|
|
pmos_install
|
|
pmos_install_functions
|
|
pmos_setpw"
|
|
arch="noarch"
|
|
license="GPL3"
|
|
|
|
package() {
|
|
install -Dm755 "$srcdir/build_zip.sh" \
|
|
"$pkgdir/sbin/build-recovery-zip"
|
|
mkdir -p "$pkgdir/var/lib/postmarketos-android-recovery-installer/META-INF/com/google/android/"
|
|
install -Dm644 "$srcdir"/update-binary \
|
|
"$pkgdir/var/lib/postmarketos-android-recovery-installer/META-INF/com/google/android/update-binary"
|
|
mkdir "$pkgdir/var/lib/postmarketos-android-recovery-installer/bin/"
|
|
for file in pmos_install pmos_install_functions pmos_setpw; do
|
|
install -Dm755 "$srcdir/$file" \
|
|
"$pkgdir/var/lib/postmarketos-android-recovery-installer/bin/$file"
|
|
done
|
|
mkdir "$pkgdir/var/lib/postmarketos-android-recovery-installer/lib/"
|
|
}
|
|
sha512sums="d065577f587ee604cfa635c3eaba5c856800e9dafbbab65d4311dc89b72feab131fc23605bc0a344979f0760162bc509ac2056ee3c4d3e78e56be15032e314c1 build_zip.sh
|
|
156f889593d82d4b1c88f3873299fc054e70e78bf26af37af4dd7770ed31a0a581f2cf03cad9e11a60159f424d2d3869fd6cd28600ad305469ddf01eaff49f6c update-binary
|
|
bc60b75dcd499084d66453c9f9beb989ad386a4bb394d0018982dc16e4f23f05c2b3308119fc513a3a391d7878047e65f46557b214a543a6a4cdfd92f6f7cf5a pmos_install
|
|
b4c669ab6dfe330a30c575f864cea916ac357ae96547c2296d1b5399669c6f49570c60554985d2939a1d3e3cb464e3229e2b4724eba1dd5d920dcec1b0f7f0e3 pmos_install_functions
|
|
27dd89aa8471349995a1cbbc1034ead662a0d1dd70ca5490f3191ceaaeb853331003c20ffddbbd95fe822135a85c1beb1e2a32bb33b10c2a4177b30347a40555 pmos_setpw"
|