2018-01-06 19:14:17 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-semc-anzu
|
|
|
|
pkgdesc="Xperia Arc"
|
|
|
|
pkgver=1
|
2019-10-05 12:27:11 +00:00
|
|
|
pkgrel=9
|
2018-01-06 19:14:17 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
|
|
|
options="!check !archcheck"
|
2019-10-05 12:27:11 +00:00
|
|
|
depends="postmarketos-base linux-semc-anzu msm-fb-refresher mkbootimg mesa-dri-swrast"
|
2018-01-06 19:14:17 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-01-06 19:14:17 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="linux-firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-12-25 19:25:32 +00:00
|
|
|
sha512sums="023df887ed3bf308c84f8a344c24ea76739b553057c0a3472ae112776f69329c280b00bcf4d36b65bde0e0fc26b6a7e3724fd6c80ddd289b3e3a1492af747592 deviceinfo
|
2018-01-06 19:14:17 +00:00
|
|
|
fc2241310bfc9777cd2240857d9176c48dbc8bdbd871b280e2703a2dce7c3810c0a36b78557088d81a161900c74ece2015c40b3c7e72f7970b46a3991e7856c2 modules-load.conf"
|