2017-11-29 21:16:02 +00:00
|
|
|
pkgname="device-lenovo-karate"
|
|
|
|
pkgdesc="Lenovo K6 Power"
|
|
|
|
pkgver=0.1
|
2018-03-07 22:35:02 +00:00
|
|
|
pkgrel=6
|
2017-11-29 21:16:02 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-lenovo-karate mkbootimg mdss-fb-init-hack mesa-dri-swrast"
|
2017-11-29 21:16:02 +00:00
|
|
|
source="deviceinfo 90-android-touch-dev.rules"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-11-29 21:16:02 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
depends="firmware-lenovo-karate"
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-03-07 22:35:02 +00:00
|
|
|
sha512sums="d3a28033883673fcf37209a0a41501a9793eee1e302492b7cbe24a0e4340fb86b5b7ce00aa87f1540879bb2d2ca291a7f39fb42dd428f20a17e510f9a8653c6d deviceinfo
|
2017-11-29 21:16:02 +00:00
|
|
|
25086c95c67c27151112efac1dcf7792589c990cc0a93ee910654445a3f9cc66c4a5ab656b3256224b39c49fe104540757cc36abf9de19f47c28c4fa82c4f552 90-android-touch-dev.rules"
|