pmaports/device/testing/device-surftab-wintron7.0/APKBUILD
jenneron fc0b5f1efe
surftab-wintron7.0: fix kernel and initramfs names (MR 2521)
[ci:skip-build] already built successfully in CI
2021-09-16 21:44:05 -07:00

38 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-surftab-wintron7.0
pkgdesc="TrekStor SurfTab wintron 7.0"
pkgver=0.4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
options="!check !archcheck"
depends="grub-x86 postmarketos-base linux-lts mesa-dri-intel"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
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="
aca8d02fa47dfdfe095e6e0abc5175aff901be741506a4428aab10a470d16ad4b696873c0c907574cebef143cb4c5fbcfd27e3425ff6f7dbf187e3e2c38cd5c1 deviceinfo
11fa2ef0a8434bdd6ff266f17585ae3f5ec7724a2053ec62c831845dc7cf6d74e690cdb3e67f84c7183e16f0d6a168275942490927143b1287330b45286f27e9 grub.cfg
"