pmaports/device/testing/device-lenovo-karate/APKBUILD

33 lines
1 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-karate
2017-11-29 21:16:02 +00:00
pkgdesc="Lenovo K6 Power"
pkgver=0.1
pkgrel=13
2017-11-29 21:16:02 +00:00
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-lenovo-karate mkbootimg mdss-fb-init-hack mesa-dri-swrast"
makedepends="devicepkg-dev"
2017-11-29 21:16:02 +00:00
source="deviceinfo 90-android-touch-dev.rules"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
2017-11-29 21:16:02 +00:00
build() {
devicepkg_build $startdir $pkgname
}
2017-11-29 21:16:02 +00:00
package() {
devicepkg_package $startdir $pkgname
2017-11-29 21:16:02 +00:00
install -Dm755 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}
nonfree_firmware() {
depends="firmware-lenovo-karate"
pkgdesc="Wifi firmware"
mkdir "$subpkgdir"
}
sha512sums="82b9b10f8ffc893b4b4b063b3aee738fb1c36915e835365574a3828c4c59933e37978ac063b77f44cd6958a97f043daa822b6029af32af41ce52d4732959d91e deviceinfo
2017-11-29 21:16:02 +00:00
25086c95c67c27151112efac1dcf7792589c990cc0a93ee910654445a3f9cc66c4a5ab656b3256224b39c49fe104540757cc36abf9de19f47c28c4fa82c4f552 90-android-touch-dev.rules"