a85db1dc7b
At the moment we have Contributor: lines on some packages (but not all of them), but often they don't represent the actual contributors to the package very well. E.g. when we added them retroactively to the device packages we only added the initial contributor (which isn't necessarily the person who made most of the work for a device...) The Git history is the most representative source for figuring out who contributed to a package, so there is no reason to duplicate that into the APKBUILD. [skip ci]: way too many packages
32 lines
1.4 KiB
Text
32 lines
1.4 KiB
Text
# Maintainer: Attila Szollosi <ata2001@airmail.cc>
|
|
pkgname=postmarketos-android-recovery-installer
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="TWRP compatible postmarketOS installer script"
|
|
arch="all"
|
|
url="https://postmarketos.org"
|
|
license="GPL-3.0-or-later"
|
|
# multipath-tools: kpartx
|
|
depends="busybox-extras lddtree cryptsetup multipath-tools device-mapper parted util-linux zip e2fsprogs tar"
|
|
source="https://gitlab.com/postmarketos/postmarketos-android-recovery-installer/-/archive/$pkgver/postmarketos-android-recovery-installer-$pkgver.tar.gz"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
gcc -static -o disable-warning disable-warning.c
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 build_zip.sh \
|
|
"$pkgdir"/sbin/build-recovery-zip
|
|
install -Dm644 update-binary \
|
|
"$pkgdir"/var/lib/postmarketos-android-recovery-installer/META-INF/com/google/android/update-binary
|
|
install -Dm755 pmos_chroot \
|
|
"$pkgdir"/var/lib/postmarketos-android-recovery-installer/pmos_chroot
|
|
install -Dm755 disable-warning \
|
|
"$pkgdir"/var/lib/postmarketos-android-recovery-installer/disable-warning
|
|
for file in pmos_install pmos_install_functions pmos_setpw; do
|
|
install -Dm755 $file \
|
|
"$pkgdir"/var/lib/postmarketos-android-recovery-installer/chroot/bin/$file
|
|
done
|
|
}
|
|
sha512sums="595620cb0e074080248177042d0c5edb2ff18f8ad0784667908ec5ad27bd0ef4723f5702554fb8674503d1a3d49b2cb08d4635c25e5f4045b72ad68cd4fd4c86 postmarketos-android-recovery-installer-1.0.0.tar.gz"
|