device/device-sony-sirius: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 16:29:37 +03:00 committed by Bart Ribbers
parent 746d5e3d1d
commit 4a8178e536
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,11 +1,14 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Craig Tatlor <ctatlor97@gmail.com>
pkgname=device-sony-sirius
pkgver=1
pkgrel=5
pkgrel=6
pkgdesc="Sony Xperia Z2 device package"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="postmarketos-base linux-postmarketos-qcom-msm8974 mkbootimg mesa-git mesa-git-glapi mesa-git-gl mesa-git-gles mesa-git-egl mesa-git-gbm mesa-git-dri-freedreno"
makedepends="devicepkg-dev"
subpackages="$pkgname-weston $pkgname-x11 $pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
@ -16,11 +19,14 @@ source="
"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/modules-load.conf \
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
install -Dm644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
"$pkgdir"/etc/modules-load.d/00-$pkgname.conf
install -Dm644 "$srcdir"/99-touch.rules \
"$pkgdir"/etc/udev/rules.d/99-touch.rules
install -D -m644 "$srcdir"/brcmfmac4339-sdio.txt \