# Reference: <https://postmarketos.org/devicepkg>
maintainer="Raymond Hackley <raymondhackley@protonmail.com>"
pkgname=device-samsung-j5x
pkgdesc="Samsung Galaxy J5 (2016)"
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	firmware-qcom-adreno-a300
	firmware-samsung-j5x-wcnss-nv
	linux-postmarketos-qcom-msm8916
	mkbootimg
	msm-firmware-loader
	postmarketos-base
	soc-qcom-msm8916
	soc-qcom-msm8916-rproc
	soc-samsung-msm8916-modem-workaround
"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf modules-initfs"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
c9da043b329bcf30184039381bd165be2a7ec3d83302756ff16b4992e7969ff13f52233ee6916724bc811cf8f7cf8b8eb02fb811d08dbe70e4240e13192dd15a  deviceinfo
37e1e5f8839b624ab3eb850a24ed4daeb61a651257a1fb593f49cb869323e5d1b339c831a18eb26a9d7bd0a618ea9eb2bb9bf3882133af5f2606a878e6d39c67  kernel-cmdline.conf
72ccbf2f59a72d5299339f9db3cdf4e84d4b20c756b549c11d2e94b0bd4b433d993d64c2908e2536ff369363813586691af28c2a5c0e1aecf7a848e8b455cb8d  modules-initfs
"
