a85db1dc7b
At the moment we have Contributor: lines on some packages (but not all of them), but often they don't represent the actual contributors to the package very well. E.g. when we added them retroactively to the device packages we only added the initial contributor (which isn't necessarily the person who made most of the work for a device...) The Git history is the most representative source for figuring out who contributed to a package, so there is no reason to duplicate that into the APKBUILD. [skip ci]: way too many packages
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Maintainer: ky0ko <ky0ko@disroot.org>
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-motorola-def
|
|
pkgdesc="Motorola Moto One Hyper"
|
|
pkgver=0.1
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
subpackages="$pkgname-weston $pkgname-nonfree-firmware:nonfree_firmware"
|
|
depends="postmarketos-base linux-motorola-def mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo weston.ini"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
weston() {
|
|
install_if="$pkgname weston"
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Nonfree firmware metapackage for Motorola One Hyper"
|
|
depends="firmware-motorola-def"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
|
|
sha512sums="07f2a9543d1eca9850a66badd4bdea2a48d7fd2added2d07e67cb69dffb893313f5f78ae20f1544cd2c0ec8c1fc079833619b42b4b3a07d351ef781d3732ed48 deviceinfo
|
|
809cac74c2ea02e21359c7f37f90a0efdf90ea1d23082acff6786e6dbaa1c2b5616a4d36de751ac6c73cfa727362bc23df95b0c78bf4dd1d3441ac182372358a weston.ini"
|