bbec7c41ea
For postmarketOS/pmaports#157 [skip ci]
27 lines
968 B
Text
27 lines
968 B
Text
pkgname="device-lenovo-karate"
|
|
pkgdesc="Lenovo K6 Power"
|
|
pkgver=0.1
|
|
pkgrel=8
|
|
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"
|
|
source="deviceinfo 90-android-touch-dev.rules"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
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="36cbc80520fab81bb22c6ad1796c08b93872b981f82ac7998a3a27b8d45fe31339f2e97bd80ef81b7880f1e6fbf43e15337ac6bdf8f9f52a973e5bbc9ec0c52b deviceinfo
|
|
25086c95c67c27151112efac1dcf7792589c990cc0a93ee910654445a3f9cc66c4a5ab656b3256224b39c49fe104540757cc36abf9de19f47c28c4fa82c4f552 90-android-touch-dev.rules"
|