pmaports/device/device-semc-anzu/APKBUILD
2018-08-23 00:44:46 +00:00

35 lines
1,010 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="noarch"
options="!check"
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"