2019-03-24 19:45:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 10:32:57 +00:00
|
|
|
# Contributor: Nick Reitemeyer <nick.reitemeyer@web.de>
|
2019-03-24 19:45:00 +00:00
|
|
|
pkgname="device-surftab-wintron7.0"
|
|
|
|
pkgdesc="TrekStor SurfTab wintron 7.0"
|
|
|
|
pkgver=0.3
|
2020-03-07 18:58:32 +00:00
|
|
|
pkgrel=6
|
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-03-07 16:10:22 +00:00
|
|
|
sha512sums="91ebf5f1d3b305df1708f675db7df87af38128448dfb778449945a2d77b85d61da57066129c7b79ba6f5dd5fc5f896eedd6788a89a8c29010d9d1d0cb59f67a8 deviceinfo
|
2019-03-24 19:45:00 +00:00
|
|
|
8b77755eb59c07f84cb00439f09e0f4bbc2fdf6da8e41160bb1967463c0e098d012a18465891a5d0fc64a37712ba3840a110aa7a371da90c23b4fcd7ac63c004 grub.cfg"
|