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"
|
|
|
|
pkgver=0.3
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=7
|
2019-03-24 19:45:00 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86_64"
|
|
|
|
options="!check !archcheck"
|
2019-12-21 01:56:20 +00:00
|
|
|
depends="grub-x86 postmarketos-base linux-lts mesa-dri-intel"
|
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"
|
|
|
|
}
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="d3beaa4f4564ddbe6e4194a8d97aa2594a3a234ef94e048f90ebd78d88c8dd303a4532c54be30e25cffdd1a21a8c697af6d4a1f258ea8b65220f6d9fc6209424 deviceinfo
|
2019-03-24 19:45:00 +00:00
|
|
|
8b77755eb59c07f84cb00439f09e0f4bbc2fdf6da8e41160bb1967463c0e098d012a18465891a5d0fc64a37712ba3840a110aa7a371da90c23b4fcd7ac63c004 grub.cfg"
|