pmaports/device/testing/device-samsung-jflte/APKBUILD

33 lines
982 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-jflte
pkgdesc="Samsung Galaxy S4"
pkgver=0.5
pkgrel=9
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-jflte mkbootimg mesa-dri-swrast
msm-fb-refresher"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo fb.modes"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -D -m644 "$srcdir"/fb.modes \
"$pkgdir"/etc/fb.modes
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-jflte"
mkdir "$subpkgdir"
}
sha512sums="d510061741a26ae526f4f30edd19707b535ab813dadcc507d86286c47b2ac172b43745edad9fb5bc2c480e67e0514226c7f38adb60c806bb6602a71eefe68636 deviceinfo
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd fb.modes"