# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: AppleCross <ijiki16@freeuni.edu.ge>
pkgname=device-samsung-logands
pkgdesc="Samsung Galaxy Ace 3 Duos"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	linux-samsung-logands
	mkbootimg
	postmarketos-base
	postmarketos-base-downstream
	msm-fb-refresher
"
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-logands"
	mkdir "$subpkgdir"
}

sha512sums="
7335cd05a5cdda0756aa95f46bcb0e522aeb311cea3a6d5216f37f035fc042cf82bee94523b64a133b31ce39ca1b1a737476e3c169fbc0f123ab523d24349e17  deviceinfo
d7ab8040186524169440cb8264757943d47015f1ebfa1decc416d8bda7c2de8cfebef1b714421f86f37e23b6004482d6cb9b7f1ca83da9a73d11e5fd38b105f7  modules-load.conf
"
