2018-01-06 19:14:17 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-semc-anzu
|
|
|
|
pkgdesc="Xperia Arc"
|
|
|
|
pkgver=1
|
2018-03-07 22:35:02 +00:00
|
|
|
pkgrel=4
|
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-03-07 22:35:02 +00:00
|
|
|
sha512sums="ee38d5feebdbaebfbbacc41072cf8a5b2393fcd12c2a6888d73727ce9f810d6b995e3a37874e31c834e7f4e0f511757c539e9fe84ed1df5170639d404d094551 deviceinfo
|
2018-01-06 19:14:17 +00:00
|
|
|
fc2241310bfc9777cd2240857d9176c48dbc8bdbd871b280e2703a2dce7c3810c0a36b78557088d81a161900c74ece2015c40b3c7e72f7970b46a3991e7856c2 modules-load.conf"
|