9814d78e73
Use the device's architecture instead of noarch. Because the device packages should never be built for other architectures, even if all depends can be built for other arches as well. This simplifies package building as part of the new build infrastructure effort. pmbootstrap has also been changed to output this by default in aportgen.
29 lines
770 B
Text
29 lines
770 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-xiaomi-mido"
|
|
pkgdesc="Xiaomi Redmi Note 4"
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-xiaomi-mido mkbootimg mesa-dri-swrast mdss-fb-init-hack"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-xiaomi-mido"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="af088a3cfb71f52f7b095f4ea75de4c3141bf840502a7325500b7717fec0d0688ee2c82c78c858c3d6cde59a43f4c6873d85b53078d82faddbed8ce1484acf28 deviceinfo"
|