device/device-oneplus-onyx: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 13:32:53 +03:00 committed by Bart Ribbers
parent 1d6b929b6d
commit c958b738fa
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,19 +1,23 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Alex Roth <alex@magmastone.net>
pkgname=device-oneplus-onyx
pkgver=1
pkgrel=8
pkgrel=9
pkgdesc="OnePlus X"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-oneplus-onyx mkbootimg msm-fb-refresher mesa-dri-swrast"
makedepends=""
install=""
makedepends="devicepkg-dev"
source="deviceinfo 90-android-touch-dev.rules fb.modes"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -Dm644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -Dm644 "$srcdir"/fb.modes \