2019-03-24 19:45:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-surftab-wintron7.0
|
2019-03-24 19:45:00 +00:00
|
|
|
pkgdesc="TrekStor SurfTab wintron 7.0"
|
2021-09-17 19:09:07 +00:00
|
|
|
pkgver=0.5
|
2022-06-27 08:28:39 +00:00
|
|
|
pkgrel=3
|
2019-03-24 19:45:00 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86_64"
|
|
|
|
options="!check !archcheck"
|
2022-06-27 08:28:39 +00:00
|
|
|
depends="grub-x86 postmarketos-base linux-lts mesa-dri-gallium"
|
2019-03-24 19:45:00 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
grub.cfg
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2020-01-10 10:32:57 +00:00
|
|
|
mkdir -p "$pkgdir"/boot/grub/
|
|
|
|
install -D -m644 "$srcdir"/grub.cfg \
|
|
|
|
"$pkgdir"/boot/grub/grub.cfg
|
2019-03-24 19:45:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Touchscreen firmware"
|
|
|
|
depends="firmware-surftab-wintron7.0"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2022-05-27 15:48:37 +00:00
|
|
|
9204741b6a06c2cf8c29877e13e612a02621b25af3de8d627448f23042a436a4b97e2ebf3614df89314c603342595a6381871054dfb1367b89e9143997d04085 deviceinfo
|
2021-09-15 12:47:57 +00:00
|
|
|
11fa2ef0a8434bdd6ff266f17585ae3f5ec7724a2053ec62c831845dc7cf6d74e690cdb3e67f84c7183e16f0d6a168275942490927143b1287330b45286f27e9 grub.cfg
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|