2018-01-06 19:14:17 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-semc-anzu
|
|
|
|
pkgdesc="Xperia Arc"
|
|
|
|
pkgver=1
|
2018-04-24 21:09:53 +00:00
|
|
|
pkgrel=5
|
2018-01-06 19:14:17 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-semc-anzu msm-fb-refresher mkbootimg libsparse 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-04-24 21:09:53 +00:00
|
|
|
sha512sums="1385106ad7ebf3ac64505a46a6087c3f7bc656771326bbf4cdced26d83e394b013b262e0ee95bc487dd86e4fb23069ebcb279e2844dcd5027ed9b6d7ed22aa57 deviceinfo
|
2018-01-06 19:14:17 +00:00
|
|
|
fc2241310bfc9777cd2240857d9176c48dbc8bdbd871b280e2703a2dce7c3810c0a36b78557088d81a161900c74ece2015c40b3c7e72f7970b46a3991e7856c2 modules-load.conf"
|