pkgname=firmware-samsung-i9305 pkgver=1 pkgrel=0 pkgdesc="Samsung Galaxy SIII LTE Firmware" url="https://github.com/Androguide/android_vendor_samsung" arch="noarch" license="proprietary" depends="" makedepends="" install="" subpackages="" _hash="d5a8735a6ad1fff3091f100383ac004f411d7528" source=$pkgname-$_hash.tar.gz::$url"/archive/${_hash}.tar.gz" options="!check !strip" vsrcdir="$srcdir/android_vendor_samsung-${_hash}" package() { mkdir -p "$pkgdir/lib/firmware/postmarketos" # install wifi firmware install -Dm644 "$vsrcdir/smdk4412-common/proprietary/system/etc/wifi/bcmdhd_sta.bin_b2" \ "$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin_b2" install -Dm644 "$vsrcdir/smdk4412-common/proprietary/system/etc/wifi/nvram_net.txt" \ "$pkgdir/lib/firmware/postmarketos/nvram_net.txt" } sha512sums="6559320d23e6a73accacf8c760426cb5a0679ab34e353d24dde653b336eadf98c2aa28c783e7010bf9f32cc64baadc02a9fff09baac6ff8b535ed5bc94c8abc5 firmware-samsung-i9305-d5a8735a6ad1fff3091f100383ac004f411d7528.tar.gz"