# Maintainer: knuxify <knuxify@gmail.com>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-baffinlite
pkgdesc="Samsung Galaxy Grand Neo"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-baffinlite mkbootimg"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
	modules-load.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

nonfree_firmware() {
	pkgdesc="Wifi firmware"
	depends="firmware-samsung-baffinlite"
	mkdir "$subpkgdir"
}

sha512sums="
86ad4ae54269a33a5d1c717e29c5de4d4757778d430cbcd4ad9f26e47466a808a5333cb71a62c1ae989a5ba21c2bce6282fa3863112b1d8532a86286f56a5973  deviceinfo
af036fe35011db078379dbb2e8c16c86546f0a4fcb3d1bcee3502bb1ea5b38f3ec5a9fa8cd1ca8ed8b89592a7f572d6072781289845303e0bf85fc2de4ead9fb  modules-load.conf
"
