pmaports/device/device-semc-anzu/APKBUILD
Oliver Smith 9814d78e73
device-*: don't use noarch anymore
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.
2018-11-27 07:47:11 +01:00

35 lines
1,020 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-semc-anzu
pkgdesc="Xperia Arc"
pkgver=1
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-semc-anzu msm-fb-refresher mkbootimg libsparse mesa-dri-swrast"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
modules-load.conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/modules-load.conf \
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="linux-firmware"
mkdir "$subpkgdir"
}
sha512sums="af06f1c931bead1e1bab559400af2960fa0ff2384a9f274ed03bd625237fc5fbb2768615bf41916c69fb5289771003866c512ebc8042fbf4ae348127d8422d55 deviceinfo
fc2241310bfc9777cd2240857d9176c48dbc8bdbd871b280e2703a2dce7c3810c0a36b78557088d81a161900c74ece2015c40b3c7e72f7970b46a3991e7856c2 modules-load.conf"