pmaports/device/device-samsung-jflte/APKBUILD
Oliver Smith 9814d78e73
device-*: don't use noarch anymore
Use the device's architecture instead of noarch. Because the device
packages should never be built for other architectures, even if all
depends can be built for other arches as well.

This simplifies package building as part of the new build
infrastructure effort.

pmbootstrap has also been changed to output this by default in
aportgen.
2018-11-27 07:47:11 +01:00

33 lines
984 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-samsung-jflte"
pkgdesc="Samsung Galaxy S4"
pkgver=0.5
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-jflte mkbootimg mesa-dri-swrast
msm-fb-refresher"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo fb.modes"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -D -m644 "$srcdir"/fb.modes \
"$pkgdir"/etc/fb.modes
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-jflte"
mkdir "$subpkgdir"
}
sha512sums="026e718c1b788ce2959ddaf226e262c3790493f03b7263e7778022247bb23b7833b6e3bf4fbcfb17bac8c98e7b1cbe44c200b50d1a4383c7e43305cd31ee5f75 deviceinfo
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd fb.modes"