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.
27 lines
957 B
Text
27 lines
957 B
Text
pkgname="device-sony-honami"
|
|
pkgdesc="Sony Xperia Z1"
|
|
pkgver=1.0
|
|
pkgrel=6
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg 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 -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
depends="firmware-sony-amami"
|
|
pkgdesc="Wifi firmware"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="52b9887c14a52ed5b059f673e51a68974b87a2a9d6c9e600087f0df490b1c5c4f8ae12b48dcd536a9616cf6888330b2c2a474b437f2af95a1b16d0bc11ef4adf deviceinfo
|
|
1651ac9eda3c97fafe55abe0f0ae429e04f73edcbf2c56aa3259f81837f7adde348bcb385daed05c30cfc61415455a459a917ed3acccbfd9b7a1caa32a851d40 90-android-touch-dev.rules"
|