# Reference: pkgname=device-samsung-skomer pkgdesc="Samsung Galaxy Xcover 2" pkgver=5 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-stericsson" makedepends="devicepkg-dev" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware $pkgname-kwin " source=" deviceinfo kwin.sh " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="WiFi/BT firmware" depends="firmware-samsung-u8500" mkdir "$subpkgdir" } kwin() { install_if="$pkgname kwin" install -Dm644 "$srcdir"/kwin.sh "$subpkgdir"/etc/profile.d/kwin.sh } sha512sums=" 77718024b733a931c687bd893d048b8b6361565e11dab744f90c4e39ac7d1304ca4e2b5e3b43556d801833f8f6d538aa29113bf16b6f5c9044e40caeb679f4a4 deviceinfo 685ec71484a932c59f83f1039d4d18a010a5849342e96d9e15ae8ce64374aac15073f9c51d7d9f270c60e70d2ea15c685b8f528cdc40f991b093b9227cba6a48 kwin.sh "