2018-11-09 18:40:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 10:32:57 +00:00
|
|
|
# Contributor: Martijn Braam <martijn@brixit.nl>
|
2018-11-09 18:40:05 +00:00
|
|
|
pkgname="device-tablet-x64uefi"
|
|
|
|
pkgdesc="Various tablets with atom CPU"
|
|
|
|
pkgver=0.1
|
2020-03-07 18:58:32 +00:00
|
|
|
pkgrel=7
|
2018-11-09 18:40:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86_64"
|
|
|
|
options="!check !archcheck"
|
2019-12-21 01:54:33 +00:00
|
|
|
depends="postmarketos-base linux-lts mesa-dri-swrast gummiboot"
|
2018-11-09 18:40:05 +00:00
|
|
|
makedepends="devicepkg-dev gummiboot"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
loader.conf
|
|
|
|
postmarketos.conf
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
mkdir -p "$pkgdir"/boot/EFI/Boot
|
|
|
|
mkdir -p "$pkgdir"/boot/loader/entries
|
|
|
|
|
|
|
|
install -D -m644 "$srcdir"/loader.conf \
|
|
|
|
"$pkgdir"/boot/loader/loader.conf
|
|
|
|
install -D -m644 "$srcdir"/postmarketos.conf \
|
|
|
|
"$pkgdir"/boot/loader/entries/postmarketos.conf
|
|
|
|
install -D -m644 /usr/lib/gummiboot/gummibootx64.efi \
|
|
|
|
"$pkgdir"/boot/EFI/Boot/bootx64.efi
|
|
|
|
}
|
|
|
|
|
2020-03-07 16:19:37 +00:00
|
|
|
sha512sums="d64a4cd6172b22e3916066f0648c8af085da1337a4b6858a7bebdf458c5f0035ddcd4dcb30d0561cb396c942809e8a83167341495ebe7b5bce7aac2769cc213c deviceinfo
|
2018-11-09 18:40:05 +00:00
|
|
|
838a0a66d5513fb8f6d1a8d20743f25f24298e35a942b2a71e7f0b4aaaf35bd22a3ec245e993f1551fe60ce6e2eac7df1a4631d3e02ebc593965ce284002cffc loader.conf
|
2020-02-17 16:39:49 +00:00
|
|
|
8bf7002ca3ea51e018731e17154cfd1c9a8517a344c881d35e25979fb2ddbca7d48147c1d8f8cc407a65a8c8082dd9667eb6d0e1ddef060ff884b178be7af1e0 postmarketos.conf"
|