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
|
pkgname=device-lg-hammerhead
|
||||||
pkgver=2
|
pkgver=2
|
||||||
pkgrel=11
|
pkgrel=12
|
||||||
pkgdesc="Google Nexus 5"
|
pkgdesc="Google Nexus 5"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="armv7"
|
arch="armv7"
|
||||||
license="MIT"
|
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"
|
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"
|
install="$pkgname.post-install"
|
||||||
subpackages="$pkgname-weston $pkgname-phosh $pkgname-x11 $pkgname-nonfree-firmware:nonfree_firmware"
|
subpackages="$pkgname-weston $pkgname-phosh $pkgname-x11 $pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
source="
|
source="
|
||||||
@ -18,11 +21,14 @@ source="
|
|||||||
"
|
"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
devicepkg_build $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm644 "$srcdir"/deviceinfo \
|
devicepkg_package $startdir $pkgname
|
||||||
"$pkgdir"/etc/deviceinfo
|
|
||||||
install -D -m644 "$srcdir"/modules-load.conf \
|
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 \
|
install -D -m644 "$srcdir"/brcmfmac4339-sdio.txt \
|
||||||
"$pkgdir"/lib/firmware/brcm/brcmfmac4339-sdio.txt
|
"$pkgdir"/lib/firmware/brcm/brcmfmac4339-sdio.txt
|
||||||
}
|
}
|
||||||
@ -39,9 +45,9 @@ x11() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
phosh() {
|
phosh() {
|
||||||
install_if="$pkgname postmarketos-ui-phosh"
|
install_if="$pkgname postmarketos-ui-phosh"
|
||||||
install -Dm644 "$srcdir"/rootston.ini \
|
install -Dm644 "$srcdir"/rootston.ini \
|
||||||
"$subpkgdir"/etc/phosh/rootston.ini
|
"$subpkgdir"/etc/phosh/rootston.ini
|
||||||
}
|
}
|
||||||
|
|
||||||
weston() {
|
weston() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user