pine64-pinephone: create "kirigami" subpackage (MR 3815)

kirigami may be installed outside of plamo, however there are some
changes that should only be applied when plamo is installed
This commit is contained in:
Clayton Craft 2023-01-29 09:34:35 -08:00 committed by Oliver Smith
parent a8450a53f2
commit ce40d054ce
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -12,6 +12,7 @@ arch="aarch64"
options="!check !archcheck"
subpackages="
$pkgname-gnome
$pkgname-kirigami:kirigami
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-shelli
$pkgname-plasma-mobile:plasma_mobile
@ -171,10 +172,9 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
plasma_mobile() {
kirigami() {
install_if="$pkgname=$pkgver-r$pkgrel kirigami2"
install -Dm644 "$srcdir"/kirigami-lowpower.sh "$subpkgdir"/etc/profile.d/kirigami-lowpower.sh
install -Dm644 "$srcdir"/kxkbrc -t "$subpkgdir"/etc/xdg
}
gnome() {
@ -185,6 +185,11 @@ gnome() {
"$subpkgdir"/usr/share/glib-2.0/schemas
}
plasma_mobile() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-plasma-mobile"
install -Dm644 "$srcdir"/kxkbrc -t "$subpkgdir"/etc/xdg
}
upower() {
install_if="$pkgname=$pkgver-r$pkgrel upower"
replaces="upower"