552454b41b
This used to be in Alpine but they don't want what is basically a giant unknown blob, and for good reasons. However we do want to provide these images for ease of install and quality-control, so let's ship it in pmOS instead
59 lines
3.6 KiB
Text
59 lines
3.6 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=waydroid-image
|
|
pkgver=17.1.20210930
|
|
pkgrel=0
|
|
_pkgver="17.1-20210930"
|
|
_pkgver_images_vendor="17.1-20210930"
|
|
pkgdesc="Android containers for use in Waydroid"
|
|
url="https://github.com/waydroid/waydroid"
|
|
# Only x86, armv7, x86_64 and aarch64 supported upstream
|
|
arch="noarch !armhf"
|
|
license="Apache-2.0"
|
|
source="
|
|
https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-$_pkgver-VANILLA-waydroid_x86_64-system.zip
|
|
https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-$_pkgver-VANILLA-waydroid_arm64-system.zip
|
|
https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86/lineage-$_pkgver-VANILLA-waydroid_x86-system.zip
|
|
https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm/lineage-$_pkgver-VANILLA-waydroid_arm-system.zip
|
|
|
|
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm64/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_arm64-vendor.zip
|
|
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_x86_64-vendor.zip
|
|
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_x86-vendor.zip
|
|
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_arm-vendor.zip
|
|
"
|
|
options="!check pmb:cross-native" # No code to test
|
|
install_if="waydroid"
|
|
|
|
case "$CARCH" in
|
|
aarch64) _imgarch="arm64" ;;
|
|
armv7) _imgarch="arm" ;;
|
|
*) _imgarch="$CARCH" ;;
|
|
esac
|
|
|
|
unpack() {
|
|
# Overwriting as it's easier to install directly while unzipping and we
|
|
# don't need other arches than the native unpacked
|
|
:
|
|
}
|
|
|
|
package() {
|
|
install -dm755 "$pkgdir"/usr/share/waydroid-extra/images
|
|
|
|
unzip -n \
|
|
-q "$srcdir"/lineage-$_pkgver-VANILLA-waydroid_$_imgarch-system.zip \
|
|
-d "$pkgdir"/usr/share/waydroid-extra/images
|
|
unzip -n \
|
|
-q "$srcdir"/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_$_imgarch-vendor.zip \
|
|
-d "$pkgdir"/usr/share/waydroid-extra/images
|
|
}
|
|
|
|
sha512sums="
|
|
60bf188793c69289348037c29f21239ac3cc157b39da06880fdba2e1603f5d00cf803bd1e97153a7ad4d87c4f3a34baffb9196c3f9624ee59ac87aafc9011522 lineage-17.1-20210930-VANILLA-waydroid_x86_64-system.zip
|
|
eeefbe855beed5a974772bc7f3df1c37b11c93900e65693641721b247fdd13f482f657a244717aa2b6b0ef7f87b965ebe35b49e88508fb4206e79076ffd3846f lineage-17.1-20210930-VANILLA-waydroid_arm64-system.zip
|
|
82fe2315c15a8b1da66dffd2e21e323ff7bcaf0c9e2d62981b220fe85e511f83ec7c4b3b0416325f448068d1e0e94f0d12097877cf22c4029c26bfd6d10a6a5a lineage-17.1-20210930-VANILLA-waydroid_x86-system.zip
|
|
3b53eb375211e2f1917a6750d2ba3349245767ec575b4d0f78d3f2b384ff442e350ac735fdf7d91ec75fd774723ec892cb37d6d79b17bf701612d7cd24a35b1c lineage-17.1-20210930-VANILLA-waydroid_arm-system.zip
|
|
e16177d0df2dc3bdbba7cc07522f1a1928dfff8a6b02290becb37b713ba9988ec13636b3f01832258bfc80ca2bbf404b64fc32eacda0502f33727e2f9cac9778 lineage-17.1-20210930-MAINLINE-waydroid_arm64-vendor.zip
|
|
720618d78990d7fe0a67a77d4664cd943924f7bc159acfcfa5f192a18771818791eb6a6f95f613f2f23a74b5ac48069c15266d1eda5d4ce5fed7fe593eec33f8 lineage-17.1-20210930-MAINLINE-waydroid_x86_64-vendor.zip
|
|
4556790e7846ad531f5676acf3c02393c9d508ab35384ebbecf4f22b06a36293c32cf7e37f13ba050cd8362784baf1441fce353a11a9ca0426fcff7c0cd80113 lineage-17.1-20210930-MAINLINE-waydroid_x86-vendor.zip
|
|
7270c6beea3900b0068257e310bc09b608cec4c617317920be2c5ce430674d899349f3eecf7d31868e2f3a8980d21926086bf8bc8dea814807b339a2f9eab51d lineage-17.1-20210930-MAINLINE-waydroid_arm-vendor.zip
|
|
"
|