27 lines
889 B
Text
27 lines
889 B
Text
|
# Reference: <https://postmarketos.org/devicepkg>
|
||
|
pkgname="device-samsung-hero2lte"
|
||
|
pkgdesc="Samsung Galaxy S7 edge"
|
||
|
pkgver=0.1
|
||
|
pkgrel=0
|
||
|
url="https://postmarketos.org"
|
||
|
license="MIT"
|
||
|
arch="aarch64"
|
||
|
options="!check !archcheck"
|
||
|
depends="postmarketos-base linux-samsung-hero2lte mkbootimg mesa-dri-swrast msm-fb-refresher"
|
||
|
makedepends="devicepkg-dev"
|
||
|
source="deviceinfo initfs-hook.sh"
|
||
|
|
||
|
build() {
|
||
|
devicepkg_build $startdir $pkgname
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
devicepkg_package $startdir $pkgname
|
||
|
install -Dm644 "$srcdir"/initfs-hook.sh \
|
||
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
||
|
}
|
||
|
|
||
|
|
||
|
sha512sums="f780adfb37cbaa3930cb4eb4eef2b439c0b83d9a941a898f0396cb4120db4f5d5677903df8930bd3d234c7b6d5c3787f74f6133e2ccb4b04d5fa9d530aa34478 deviceinfo
|
||
|
5a7be3cb8835ffb3783fcd4539de04f7f006c726ac9aea35cdca9e90b2877dc36cf4e314851bf9078f4b2dac061b7265866792d92a79f5232c56a0e17f7910b1 initfs-hook.sh"
|