pine64-pinephonepro: move openrc scripts to subpackage (MR 5688)
This commit is contained in:
parent
7a9b5a205d
commit
0125e65f90
4 changed files with 10 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=device-pine64-pinephonepro
|
||||
pkgdesc="PINE64 PinePhone Pro"
|
||||
pkgver=4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
|
@ -25,13 +25,10 @@ makedepends="
|
|||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-gnome
|
||||
$pkgname-openrc
|
||||
$pkgname-sway
|
||||
$pkgname-x11
|
||||
"
|
||||
install="
|
||||
$pkgname.post-install
|
||||
$pkgname.post-upgrade
|
||||
"
|
||||
source="
|
||||
51_keyboard.gschema.override
|
||||
90-modem-eg25.rules
|
||||
|
|
@ -123,6 +120,13 @@ gnome() {
|
|||
"$subpkgdir"/usr/share/glib-2.0/schemas
|
||||
}
|
||||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sway() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel sway-virtual"
|
||||
install -Dm644 "$srcdir"/sway-pinephone-keyboard.conf \
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
./device-pine64-pinephonepro-openrc.post-install
|
||||
|
|
@ -1 +0,0 @@
|
|||
device-pine64-pinephonepro.post-install
|
||||
Loading…
Add table
Add a link
Reference in a new issue