2017-12-27 01:56:59 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-xiaomi-ido"
|
|
|
|
pkgdesc="Xiaomi Xiaomi RedMi 3"
|
|
|
|
pkgver=0.1
|
2018-01-06 14:08:10 +00:00
|
|
|
pkgrel=1
|
2017-12-27 01:56:59 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
2018-01-06 14:08:10 +00:00
|
|
|
depends="linux-xiaomi-ido mkbootimg mesa-dri-swrast"
|
2017-12-27 01:56:59 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo
|
|
|
|
fb.modes
|
|
|
|
initfs-hook.sh"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
|
|
|
|
install -Dm644 "$srcdir"/initfs-hook.sh "$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="71067cb3a218b9d3055b241c3fce6ef8b487fda9c415d9d0b94ee793886c8ff57cc4d174f6cd655cc3d034b08a6496b606657cac1dd2000eb4c110ef62e00bfd deviceinfo
|
|
|
|
8a72f8d34fd0a8c7b6de0a2ab16e255b3fe28993e1aef7c25c3c4becc5851e51f5dcc3814acc75c8bb829bc02d180d976ee3877a98982d29cfc5cb7ea84f1c32 fb.modes
|
|
|
|
3b46dfab8465935349a8775e0247a3ea4274c16a9f526f17e1397ae2f6bdef11d9cbd969dc630a7d647e4130f5a2f1a8e85357fc34a5b1900411f9219a62b38e initfs-hook.sh"
|