2020-01-10 10:32:51 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-lenovo-karate
|
2017-11-29 21:16:02 +00:00
|
|
|
pkgdesc="Lenovo K6 Power"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
|
|
|
pkgrel=0
|
2017-11-29 21:16:02 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-lenovo-karate mkbootimg mdss-fb-init-hack"
|
2020-01-10 10:32:51 +00:00
|
|
|
makedepends="devicepkg-dev"
|
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
|
|
|
|
2020-01-10 10:32:51 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-11-29 21:16:02 +00:00
|
|
|
package() {
|
2020-01-10 10:32:51 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
depends="firmware-lenovo-karate"
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
b51f3fa7782afc75363675841e1c7160b924082a2446bb1d9dbeb23adc164b98c56c1e496a78e07e7b404b446e801428605b174498d99538d6b4142d99d0de25 deviceinfo
|
2022-10-14 11:46:40 +00:00
|
|
|
c6a76928d81a36d54734a6061f73f41ce0a6108cf151eb0ef19c96ac5c108e05996d9bb8b57055037e8e0cb8ea0fb0e7dc3d1f047e1d974f7ea1375754ed0962 90-android-touch-dev.rules
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|