pkgname-nonfree-firmware packages have been not allowed for years, but nearly every device package just didn't fix that. With the new grep check, these need to be fixed no matter what. The changing of `replaces=` to include the full name of the package and not the pkgname variable is to work around limitations of the grep ci check, as it cannot differentiate between a nonfree-firmware subpackage and a string stating its replacement. A workaround for that is to use the whole package name, as the grep check checks for the pkgname variable. Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
35 lines
920 B
Bash
35 lines
920 B
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
maintainer="Bart Ribbers <bribbers@disroot.org>"
|
|
pkgname=device-pine64-rockpro64
|
|
pkgver=6
|
|
pkgrel=0
|
|
pkgdesc="PINE64 ROCKPro64"
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
firmware-pine64-rockpro64
|
|
linux-firmware-brcm
|
|
linux-firmware-rockchip
|
|
linux-postmarketos-rockchip
|
|
postmarketos-base>=25-r1
|
|
soc-rockchip-rk3399
|
|
u-boot-rockchip
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo kernel-cmdline.conf"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
c0adebb2ea75d9ec429d2b3bdf91bd11d35d4bb9ce8ffcffa5f21f9686a0e8e47aed344ea167df7aa7a12d5efd89ef12aefed27476e908d2b6bca5857c76f716 deviceinfo
|
|
b7708fa690798ece0368d21cda7379a8824aaa050444401029a1aa698b85a9920dc4aed78b909370e005f2ace9554cd2e499eefd1570615e14a25e2be420bbc5 kernel-cmdline.conf
|
|
"
|