main/postmarketos-ui-sway: add -openrc subpackage (MR 5374)
This commit is contained in:
parent
46065a64c4
commit
2448473417
4 changed files with 18 additions and 5 deletions
|
@ -2,23 +2,22 @@
|
|||
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
||||
pkgname=postmarketos-ui-sway
|
||||
pkgver=3.1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-or-later"
|
||||
subpackages="$pkgname-logo-key-alt:logo_key_alt"
|
||||
depends="
|
||||
bluez
|
||||
dnsmasq
|
||||
elogind
|
||||
elogind-openrc
|
||||
polkit-elogind
|
||||
postmarketos-base-ui
|
||||
postmarketos-base-ui-networkmanager
|
||||
sway
|
||||
swaybg
|
||||
tinydm
|
||||
tinydm-openrc
|
||||
"
|
||||
_pmb_recommends="
|
||||
dmenu
|
||||
|
@ -31,7 +30,7 @@ _pmb_recommends="
|
|||
_pmb_groups="
|
||||
seat
|
||||
"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="
|
||||
etc-sway-config
|
||||
etc-sway-config.d-00-logo-key.conf
|
||||
|
@ -49,6 +48,20 @@ logo_key_alt() {
|
|||
"$subpkgdir"/etc/sway/config.d/00-logo-key.conf
|
||||
}
|
||||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
||||
depends="
|
||||
bluez-openrc
|
||||
elogind-openrc
|
||||
modemmanager-openrc
|
||||
seatd-openrc
|
||||
tinydm-openrc
|
||||
"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6caaaa313d509a54eaa43e6bc24739f5d8241689dbed268885f6645e79567e3cd9f41d0d8fa43d52fe99587a1d1b6f1669cfecc88220d9ea409feb4f4cd43d3c etc-sway-config
|
||||
889f10fb247396a11375057f7e81eae0f0b21ec90cd47964e02ba24fc0f6db8bb7678545e3272149535cf0bb6a2019456cc59d06a9564ce4a1797bb434013b78 etc-sway-config.d-00-logo-key.conf
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-sway-openrc.post-install
|
|
@ -1 +0,0 @@
|
|||
postmarketos-ui-sway.post-install
|
Loading…
Reference in a new issue