pmaports/device/testing/device-samsung-j6lte/APKBUILD

40 lines
814 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-j6lte
pkgdesc="Samsung Galaxy J6 (2018)"
pkgver=0.1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-samsung-j6lte
mkbootimg
postmarketos-base
postmarketos-base-downstream
msm-fb-refresher
"
makedepends="devicepkg-dev"
source="
deviceinfo
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="$pkgdesc (WiFi firmware)"
depends="firmware-samsung-j6lte"
mkdir "$subpkgdir"
}
sha512sums="
df29f639f7a0342f6180219749e060752866571a8438686955b26889091a6ceb5726f166a387c60f9f4b3ef90414a54df0d87c55e6b80ff5898e68d35411fbe8 deviceinfo
"