# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-jfvelte
pkgdesc="Samsung Galaxy S4 Value Edition"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-jfvelte mkbootimg msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf fb.modes"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	install -D -m644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
	devicepkg_package $startdir $pkgname
}

sha512sums="
252ba2bf641a05d8f26f087aedc11e5cca3f15a93879ba68c7c89d81b6d78ba4065ae488dfc362881e0313ca6e39819bfb0a08b95842ca1ef765d2682d3e5f6b  deviceinfo
706c68607d66e9a7196281794bd94d4d3267321a8090fb3f5388414a1aa3388387e77681b487c33641b4aa415274e8ed5224abc33c2e72cb21bc682f6b09fed8  kernel-cmdline.conf
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd  fb.modes
"
