pmaports/firmware/firmware-asus-duma/APKBUILD

27 lines
919 B
Text
Raw Normal View History

pkgname=firmware-asus-duma
pkgver=1
pkgrel=1
pkgdesc="Firmware files for ASUS MeMO Pad FHD 10 (asus-duma)"
url="https://github.com/postmarketOS"
arch="noarch"
license="proprietary"
depends="wcnss-wlan"
options="!check !strip !archcheck"
# Source
_commit="598acdf72ad986302d028fef7e9bcb5daadf7d79"
_url="https://github.com/yatto/android_vendor_asus_duma"
source="$pkgname-$_commit.tar.gz::$_url/archive/${_commit}.tar.gz"
package() {
cd "$srcdir/android_vendor_asus_duma-$_commit/proprietary/vendor/firmware"
# /lib/firmware/postmarketos
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b05 wcnss.mdt"
for _i in $_files; do
install -D -m644 "$_i" "$pkgdir/lib/firmware/postmarketos/$_i"
done
}
sha512sums="24e2e1bd79607fac822490f4ffc0e46f9cba2993fa2244d6d0d9281aecf21340f019aa33f501c8a3b74c1271eaefcb2e70c30cb7057897679b765748f054a279 firmware-asus-duma-598acdf72ad986302d028fef7e9bcb5daadf7d79.tar.gz"