device/device-pine64-pinetab: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 19:42:50 +03:00 committed by Bart Ribbers
parent 7bd3713462
commit 1164a8fb20
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,18 +1,21 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
# Contributor: Martijn Braam <martijn@brixit.nl>
pkgname="device-pine64-pinetab" pkgname="device-pine64-pinetab"
pkgdesc="PINE64 PineTab" pkgdesc="PINE64 PineTab"
pkgver=0.1 pkgver=0.1
pkgrel=10 pkgrel=11
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
options="!check !archcheck" options="!check !archcheck"
depends="postmarketos-base linux-postmarketos-allwinner u-boot-pine64 uboot-tools mesa-git mesa-git-glapi mesa-git-gl mesa-git-egl mesa-git-dri-lima mesa-git-dri-kmsro mesa-git-gbm mesa-git-gles" depends="postmarketos-base linux-postmarketos-allwinner u-boot-pine64 uboot-tools mesa-git mesa-git-glapi mesa-git-gl mesa-git-egl mesa-git-dri-lima mesa-git-dri-kmsro mesa-git-gbm mesa-git-gles"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
subpackages="$pkgname-sway subpackages="
$pkgname-weston $pkgname-sway
$pkgname-phosh $pkgname-weston
$pkgname-nonfree-firmware:nonfree_firmware" $pkgname-phosh
$pkgname-nonfree-firmware:nonfree_firmware
"
install="$pkgname.post-install" install="$pkgname.post-install"
source=" source="
deviceinfo deviceinfo
@ -38,22 +41,22 @@ build() {
} }
sway() { sway() {
install_if="$pkgname postmarketos-ui-sway" install_if="$pkgname postmarketos-ui-sway"
depends="dmenu" depends="dmenu"
install -D -m644 "$srcdir"/sway.conf \ install -D -m644 "$srcdir"/sway.conf \
"$subpkgdir"/etc/sway/config.d/pinetab "$subpkgdir"/etc/sway/config.d/pinetab
} }
weston() { weston() {
install_if="$pkgname postmarketos-ui-weston" install_if="$pkgname postmarketos-ui-weston"
install -Dm644 "$srcdir"/weston.ini \ install -Dm644 "$srcdir"/weston.ini \
"$subpkgdir"/etc/xdg/weston/weston.ini "$subpkgdir"/etc/xdg/weston/weston.ini
} }
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
} }
package() { package() {