pmaports/firmware/firmware-asus-duma/APKBUILD
Oliver Smith 771612344d
other device related packages: don't use noarch
It does not make sense to build most of them for x86_64 for example.
2018-11-27 07:47:11 +01:00

26 lines
911 B
Text

pkgname=firmware-asus-duma
pkgver=1
pkgrel=1
pkgdesc="Firmware files for ASUS MeMO Pad FHD 10 (asus-duma)"
url="https://postmarketos.org"
arch="armhf"
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"