device/testing/firmware-oneplus-bacon: new aport (MR 2027)
This commit is contained in:
parent
da4afb710b
commit
754902d3ae
1 changed files with 21 additions and 0 deletions
21
device/testing/firmware-oneplus-bacon/APKBUILD
Normal file
21
device/testing/firmware-oneplus-bacon/APKBUILD
Normal file
|
@ -0,0 +1,21 @@
|
|||
pkgname=firmware-oneplus-bacon
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="Firmware for OnePlus One (bacon)"
|
||||
url="https://gitlab.com/Kanedias/oneplus-firmware-files"
|
||||
arch="armv7"
|
||||
license="proprietary"
|
||||
depends="mtools"
|
||||
options="!check !strip !archcheck"
|
||||
_commit="421e8adbea3b690651ed1e7b9f0ae73047039e7a"
|
||||
source="$url/-/archive/$_commit/oneplus-firmware-files-$_commit.tar.gz"
|
||||
builddir="$srcdir/oneplus-firmware-files-$_commit"
|
||||
|
||||
package() {
|
||||
cd bacon/firmware
|
||||
for _i in wcnss.* wlan/prima/WCNSS*; do
|
||||
install -Dm644 $_i "$pkgdir/lib/firmware/postmarketos/$_i"
|
||||
done
|
||||
}
|
||||
|
||||
sha512sums="87432e8f8869e7b8c3397fa1c24a5b8ac29c710beddabe56a728012b68d5cfc90c9fc12f496aa6e23d395d52beb4ad2c395b9aebf8876c6c4315e0c75c8e7648 oneplus-firmware-files-$_commit.tar.gz"
|
Loading…
Reference in a new issue