pmaports/device/testing/device-samsung-kminilte/APKBUILD

42 lines
1 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-kminilte
pkgdesc="Samsung Galaxy S5 Mini"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-samsung-kminilte
mkbootimg
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
fb.modes
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
}
nonfree_firmware() {
pkgdesc="Non-free firmware for Samsung Galaxy S5 Mini"
depends="firmware-samsung-kminilte"
mkdir "$subpkgdir"
}
sha512sums="
c9289a138d334048d30dafa37db395b7bb79462fc79b77b4ce4faba55ff8d1668b64b8ac85a53d32867f765f3edfea7983fcdf121a46c59957f7bd2d7d1f112e deviceinfo
245efec73f85ef715c877d6c24eb4b7b677d250bd38167dc19b1b0ed84c3ea91049576adbbf21dd48940c08e40f0294a1a01b0ab3e56efd794109a7e7ebc1104 fb.modes
"