device/device-lg-hammerhead: fix APKBUILD (!874)
This commit is contained in:
parent
da11be3bf3
commit
630e18e1df
|
@ -1,11 +1,14 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Contributor: Martijn Braam <martijn@brixit.nl>
|
||||
pkgname=device-lg-hammerhead
|
||||
pkgver=2
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
pkgdesc="Google Nexus 5"
|
||||
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 ofono"
|
||||
makedepends="devicepkg-dev"
|
||||
install="$pkgname.post-install"
|
||||
subpackages="$pkgname-weston $pkgname-phosh $pkgname-x11 $pkgname-nonfree-firmware:nonfree_firmware"
|
||||
source="
|
||||
|
@ -18,11 +21,14 @@ source="
|
|||
"
|
||||
options="!check !archcheck"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/deviceinfo \
|
||||
"$pkgdir"/etc/deviceinfo
|
||||
devicepkg_package $startdir $pkgname
|
||||
install -D -m644 "$srcdir"/modules-load.conf \
|
||||
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
||||
"$pkgdir"/etc/modules-load.d/00-$pkgname.conf
|
||||
install -D -m644 "$srcdir"/brcmfmac4339-sdio.txt \
|
||||
"$pkgdir"/lib/firmware/brcm/brcmfmac4339-sdio.txt
|
||||
}
|
||||
|
@ -39,9 +45,9 @@ x11() {
|
|||
}
|
||||
|
||||
phosh() {
|
||||
install_if="$pkgname postmarketos-ui-phosh"
|
||||
install -Dm644 "$srcdir"/rootston.ini \
|
||||
"$subpkgdir"/etc/phosh/rootston.ini
|
||||
install_if="$pkgname postmarketos-ui-phosh"
|
||||
install -Dm644 "$srcdir"/rootston.ini \
|
||||
"$subpkgdir"/etc/phosh/rootston.ini
|
||||
}
|
||||
|
||||
weston() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user