ea93a6d07f
[ci:ignore-count] [ci:skip-build]: already built successfully in CI
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-surftab-wintron7.0
|
|
pkgdesc="TrekStor SurfTab wintron 7.0"
|
|
pkgver=0.5
|
|
pkgrel=6
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="x86_64"
|
|
options="!check !archcheck"
|
|
depends="grub-x86 postmarketos-base linux-lts"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
deviceinfo
|
|
modules-initfs
|
|
grub.cfg
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
mkdir -p "$pkgdir"/boot/grub/
|
|
install -D -m644 "$srcdir"/grub.cfg \
|
|
"$pkgdir"/boot/grub/grub.cfg
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Touchscreen firmware"
|
|
depends="firmware-surftab-wintron7.0"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ce94cc445b841ed80d68b3aac2fba748ebd126f8ede6340aee1c7dad8b2770d8620816e7fe8554375fd3d7fafd309916076ac26f3f49ac6d0b91b3083e65af8b deviceinfo
|
|
5b63f7216a7f00d63ddcc97fab006f28f37f280e21ccb323042d27c72cfcd9b6f18d5153dbbd26afb0e3b604a3c26d7e8847d4a5dfa9ac2e9532a8b6b52c49fc modules-initfs
|
|
11fa2ef0a8434bdd6ff266f17585ae3f5ec7724a2053ec62c831845dc7cf6d74e690cdb3e67f84c7183e16f0d6a168275942490927143b1287330b45286f27e9 grub.cfg
|
|
"
|