pmaports/device/testing/device-samsung-m0/APKBUILD

39 lines
849 B
Text
Raw Normal View History

2021-09-26 15:26:38 +00:00
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Newbyte <newbyte@disroot.org>
pkgname=device-samsung-m0
pkgdesc="Samsung Galaxy S III"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-exynos4
mesa-dri-gallium
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi firmware"
depends="firmware-samsung-m0-mainline"
mkdir "$subpkgdir"
}
sha512sums="
cc0bc04bfd2f0ab4b29f27f108d68cfd15780837da3aaa4b7bfe6c392da760bbc6d858642c0f59b9667b6159a069b089d658cbb6e4f3ccd644cfaf8dbfad3fbe deviceinfo
"