firmware-oppo-find-7a: Fix paths of some blobs and whitespace changes (!540)
This commit is contained in:
parent
ba4caadf68
commit
bca4710967
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
pkgname=firmware-oppo-find-7a
|
pkgname=firmware-oppo-find-7a
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Firmware for Oppo Find 7a"
|
pkgdesc="Firmware for Oppo Find 7a"
|
||||||
url="https://postmarketos.org/"
|
url="https://postmarketos.org/"
|
||||||
arch="armv7"
|
arch="armv7"
|
||||||
|
@ -136,12 +136,12 @@ check() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "$pkgdir/lib/firmware/qcom"
|
mkdir -p "$pkgdir/lib/firmware"
|
||||||
for _i in $_files1; do
|
for _i in $_files1; do
|
||||||
install -Dm644 "$srcdir/$pkgname-$_commit1-$_i" "$pkgdir/lib/firmware/qcom/$_i"
|
install -Dm644 "$srcdir/$pkgname-$_commit1-$_i" "$pkgdir/lib/firmware/$_i"
|
||||||
done
|
done
|
||||||
for _i in $_files2; do
|
for _i in $_files2; do
|
||||||
install -Dm644 "$srcdir/$pkgname-$_commit2-$_i" "$pkgdir/lib/firmware/$_i"
|
install -Dm644 "$srcdir/$pkgname-$_commit2-$_i" "$pkgdir/lib/firmware/$_i"
|
||||||
done
|
done
|
||||||
mkdir -p "$pkgdir/lib/firmware/wlan/prima"
|
mkdir -p "$pkgdir/lib/firmware/wlan/prima"
|
||||||
for _i in $_files3; do
|
for _i in $_files3; do
|
||||||
|
@ -156,6 +156,9 @@ package() {
|
||||||
install -Dm644 "$pkgname-keymaste.b02" "$pkgdir/lib/firmware/keymaster/keymaster.b02"
|
install -Dm644 "$pkgname-keymaste.b02" "$pkgdir/lib/firmware/keymaster/keymaster.b02"
|
||||||
install -Dm644 "$pkgname-keymaste.b03" "$pkgdir/lib/firmware/keymaster/keymaster.b03"
|
install -Dm644 "$pkgname-keymaste.b03" "$pkgdir/lib/firmware/keymaster/keymaster.b03"
|
||||||
install -Dm644 "$pkgname-keymaste.mdt" "$pkgdir/lib/firmware/keymaster/keymaster.mdt"
|
install -Dm644 "$pkgname-keymaste.mdt" "$pkgdir/lib/firmware/keymaster/keymaster.mdt"
|
||||||
|
|
||||||
|
cd "$pkgdir/lib/firmware"
|
||||||
|
ln -s . qcom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue