9814d78e73
Use the device's architecture instead of noarch. Because the device packages should never be built for other architectures, even if all depends can be built for other arches as well. This simplifies package building as part of the new build infrastructure effort. pmbootstrap has also been changed to output this by default in aportgen.
31 lines
926 B
Text
31 lines
926 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# See wiki: <https://wiki.postmarketos.org/wiki/Teclast_X80_Pro_(teclast-x80pro)> for installation information
|
|
# This package is also likely to work for most Intel based, EFI booting tablets (and laptops).
|
|
pkgname="device-teclast-x80pro"
|
|
pkgdesc="Teclast X80Pro"
|
|
pkgver=1.0
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="x86_64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-teclast-x80pro"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="linux-firmware"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="0161497fa28e25032f180a7410fdb9fabab7dd298ded94c00258018c7c42e4852ce15d041464b29b21609b4f1976c3c9079e9c7e1baaa432f4a18b8524922d0c deviceinfo"
|