43 lines
2.1 KiB
Text
43 lines
2.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-sony-taoshan"
|
|
pkgdesc="Sony Xperia L"
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-sony-taoshan mkbootimg msm-fb-refresher mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
sony-taoshan-screen-enlightener
|
|
fb.modes
|
|
40-boot-logo.files
|
|
50-screen-enlightener.files
|
|
initfs-hook.sh
|
|
logo.rle
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -Dm544 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
|
|
install -Dm755 "$srcdir"/sony-taoshan-screen-enlightener "$pkgdir"/usr/sbin/sony-taoshan-screen-enlightener
|
|
install -Dm644 "$srcdir"/40-boot-logo.files "$pkgdir"/etc/postmarketos-mkinitfs/files/40-boot-logo.files
|
|
install -Dm644 "$srcdir"/50-screen-enlightener.files "$pkgdir"/etc/postmarketos-mkinitfs/files/50-screen-enlightener.files
|
|
install -Dm644 "$srcdir"/initfs-hook.sh "$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
install -Dm644 "$srcdir"/logo.rle "$pkgdir"/
|
|
}
|
|
|
|
|
|
sha512sums="19b5740953c2732e35906982d8f3358c57181e3906f3dab6d92c063aa416bf1b12854a9fe50cc374ae1bc2f06304c8aa9a15b28e587e4b42e44d4432e4d82c80 deviceinfo
|
|
fff18ea9ccdabd2d6290755d716cb5444f54ce350f3ddd6ae0f23b78539b64d92b9e81a804b290c4c89bca318cfaa5930658ca62dc60cb0ad60033d516ab6aed sony-taoshan-screen-enlightener
|
|
72b830759c11c1d15387bff6cd9556ddac6aafa168f86ed3d3cb461f67f1492ff0b779b4c4141b6ce62a3ae02e8073bda6e19cfcf73b18b11aac99dbec8099f4 fb.modes
|
|
153f8549244ed2c053aee3f2560df241f7c133f24032d889a2fce112015773fc32d3d081a9e09755536232462a3668dc8798851f2f6a48a16f66cfdd85d317a4 40-boot-logo.files
|
|
c47c000a34d3d0129d7dc626cbcefa736e5ecb822a9e9b4af48ce1f5a1365a6c8b611995bc82d94f2b8bca546c2e17539757b6e2b26d3d5c0aae5c5515f647f1 50-screen-enlightener.files
|
|
b540a85692feb0fb37f9f52f3b12b8cca6ad32469b7359464411b2d06ab896938466eef18e81fcc97a88f0aa1837cefd442389db14bc8d34c009b774c4915de4 initfs-hook.sh
|
|
2dde30d3f7450c9e0ce375580ed5ece68ced09cff81ef11c1700c6263db63d4bb1eeca6b2f01b226426525674384643a74c26bbfb6ad8e1b41a43d959b5d1817 logo.rle"
|