firmware-sony-ninges: move openrc scripts to subpackage (MR 5688)
This commit is contained in:
parent
f59eac28b0
commit
f424050082
2 changed files with 10 additions and 3 deletions
|
|
@ -1,17 +1,24 @@
|
|||
pkgname=firmware-sony-ninges
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Firmware for Sony Xperia XA2/Plus/Ultra & 10/10 Plus"
|
||||
url="postmarketos.org"
|
||||
arch="aarch64"
|
||||
license="BSD-3-Clause"
|
||||
install="$pkgname.post-install"
|
||||
options="!check !archcheck !strip !tracedeps pmb:cross-native"
|
||||
depends="rsync"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="copy-firmware.initd"
|
||||
|
||||
package() {
|
||||
install -Dm755 "$srcdir/copy-firmware.initd" "$pkgdir/etc/init.d/copy-firmware"
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install"
|
||||
|
||||
install -Dm755 "$srcdir/copy-firmware.initd" "$subpkgdir/etc/init.d/copy-firmware"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue