2020-05-27 00:19:35 +00:00
|
|
|
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
|
|
|
|
|
|
|
pkgname=firmware-oneplus-sdm845
|
2020-07-19 15:41:02 +00:00
|
|
|
pkgver=2
|
2020-05-27 00:19:35 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for OnePlus 6 / 6T"
|
|
|
|
url="https://gitlab.com/sdm845-mainline/firmware-oneplus-sdm845"
|
|
|
|
arch="aarch64"
|
|
|
|
depends="soc-qcom-sdm845-nonfree-firmware linux-firmware-qcom linux-firmware-ath10k"
|
|
|
|
license="proprietary"
|
|
|
|
options="!check !strip !archcheck"
|
|
|
|
|
2020-07-19 15:41:02 +00:00
|
|
|
_version="08f4058de46f2c09a3ba0f232b79a2d7bce53628"
|
2020-05-27 00:19:35 +00:00
|
|
|
|
|
|
|
source="$pkgname.tar.gz::$url/-/archive/$_version/$pkgname-$_version.tar.gz
|
|
|
|
firmware.files"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$_version/"
|
|
|
|
while IFS="" read -r _i || [ -n "$_i" ]; do
|
|
|
|
[ ! -d $(dirname $_i) ] && mkdir -p $(dirname $_i)
|
|
|
|
echo $_i
|
|
|
|
install -Dm644 $_i "$pkgdir/$_i"
|
|
|
|
done < "$srcdir/firmware.files"
|
|
|
|
}
|
|
|
|
|
2020-07-19 15:41:02 +00:00
|
|
|
sha512sums="5ede4c192e14a55766fbb5c1351beda470fb87cecc372cc624a465fbcfd14d0b07d313c7e0d7b05df88c11f9113bbae987d3502aba2b9ddc6940c839fcf4335c firmware-oneplus-sdm845.tar.gz
|
|
|
|
7a5c40a95b5225a9fca1833c8e75cda804ee4a81bc6efa4603680f681018531ebdcdb83be356c8ddb3c1143cd67a47430fb1cec1d4896202d95006caeffd2a2a firmware.files"
|