2020-12-21 20:15:35 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-coreprimevelte
|
|
|
|
pkgdesc="Samsung Galaxy Core Prime LTE"
|
|
|
|
pkgver=0.1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=8
|
2020-12-21 20:15:35 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-samsung-coreprimevelte mkbootimg u-boot-tools pxa-mkbootimg"
|
2020-12-21 20:15:35 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-08-10 16:15:04 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2022-08-10 15:36:47 +00:00
|
|
|
source="deviceinfo 90-coreprimevelte.conf"
|
2020-12-21 20:15:35 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2022-08-10 15:36:47 +00:00
|
|
|
install -Dm444 $startdir/90-coreprimevelte.conf $pkgdir/etc/sysctl.d/90-coreprimevelte.conf
|
2020-12-21 20:15:35 +00:00
|
|
|
}
|
|
|
|
|
2022-08-10 16:15:04 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wi-Fi firmware"
|
|
|
|
depends="firmware-samsung-pxa1908"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-05-21 21:43:25 +00:00
|
|
|
sha512sums="
|
2022-08-10 15:13:51 +00:00
|
|
|
39a9f0afb2d709983634e14ce7a05fcc4cd631f2e5b31aa971aaba452e11c37d2aba91ae971e33ebaffbd6432da6e3a2c4bbcdbf8708830fb34907e1af4be732 deviceinfo
|
2022-08-10 15:36:47 +00:00
|
|
|
4854cc57b86e1199dbc165110514e672dabf45044fe9f7ebbde5b2b24768fb5497273b5f38612cf2dfeffc9bf0648c725114b4fa01165bf7fb02f7d741ee5806 90-coreprimevelte.conf
|
2022-05-21 21:43:25 +00:00
|
|
|
"
|