device/device-qemu-amd64: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 19:45:30 +03:00 committed by Bart Ribbers
parent bd112124bf
commit 0328a95883
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,13 +1,15 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=device-qemu-amd64
pkgver=1
pkgrel=21
pkgrel=22
pkgdesc="Simulated device in qemu with an x86 platform"
url="https://postmarketos.org"
arch="x86_64"
license="MIT"
# NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package
depends="postmarketos-base"
makedepends=""
makedepends="devicepkg-dev"
subpackages="
$pkgname-x11
$pkgname-weston
@ -19,9 +21,12 @@ subpackages="
source="deviceinfo weston.ini usb_internet.start"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -Dm644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
devicepkg_package $startdir $pkgname
install -Dm755 "$srcdir"/usb_internet.start \
"$pkgdir"/etc/local.d/usb_internet.start
}
@ -47,13 +52,13 @@ xfce4() {
kernel_stable() {
pkgdesc="Stable for everyday usage (recommended)"
depends="linux-postmarketos-stable"
mkdir "$subpkgdir"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Newest kernel features"
depends="linux-postmarketos-mainline"
mkdir "$subpkgdir"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="3e9bfe994a23c3af2154b2f22d645c2f33f61b9b7d1915b3ae25c2c3aeaf529465c78699b32b0dcee4fdae990b9c5266194bffe1b92c3724816f41b5abd507b4 deviceinfo