# Reference: pkgname="device-samsung-p4wifi" pkgdesc="Galaxy Tab 10.1" pkgver=0.1 pkgrel=2 url="https://postmarketos.org" license="MIT" arch="noarch" options="!check" depends="postmarketos-base linux-samsung-p4wifi mkbootimg mesa-dri-swrast" makedepends="devicepkg-dev" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="bcm4330 wifi firmware" depends="firmware-samsung-p4wifi" mkdir "$subpkgdir" } sha512sums="1a7c18122a83ec6f1e49708170b870b7275afd73f40db5aa2dea2776105c37b945d70e962e9d502e0bb985e52759d22a3bf35d33ce38086aa09734ef3f5b42a1 deviceinfo"