From 8d3998b561d3d80bed58c9ea5fc799f17902254f Mon Sep 17 00:00:00 2001 From: jane400 Date: Mon, 24 Jun 2024 10:12:56 +0200 Subject: [PATCH] main/ttyescape: move openrc specifics into subpackage (MR 5364) Depends on https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/69583 --- main/ttyescape/APKBUILD | 9 +++++++-- ...escape.post-install => ttyescape-openrc.post-install} | 0 2 files changed, 7 insertions(+), 2 deletions(-) rename main/ttyescape/{ttyescape.post-install => ttyescape-openrc.post-install} (100%) diff --git a/main/ttyescape/APKBUILD b/main/ttyescape/APKBUILD index 144e88688..ed6ab4ef2 100644 --- a/main/ttyescape/APKBUILD +++ b/main/ttyescape/APKBUILD @@ -1,13 +1,12 @@ # Maintainer: Caleb Connolly pkgname=ttyescape pkgver=1.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Daemon to allow users to escape to a tty" url="https://gitlab.com/postmarketOS/ttyescape" arch="noarch" license="GPL-2.0" depends="hkdm buffyboard terminus-font kbd" -install="$pkgname.post-install" subpackages="$pkgname-openrc" source=" https://gitlab.com/postmarketOS/ttyescape/-/archive/$pkgver/ttyescape-$pkgver.tar.gz @@ -26,6 +25,12 @@ package() { "$pkgdir"/etc/conf.d/ttyescape.conf } +openrc() { + install="$subpkgname.post-install" + depends="hkdm-openrc" + default_openrc +} + sha512sums=" b196cad01d490ac759fc72d58382ffe621b1f33f2ec9794a7937b41bfb9a0f200939d20cd027a2c48d44d095cd8570f332c995ab015d459387d63c7788fd8298 ttyescape-1.0.1.tar.gz ac06c2ae2b3b8404d6ed79a046b175abbeb2360033edcaa22c21e1a61c68913e58013e9200ee5b786eee9020a2c78d1bda09c72d87ea0998bf6eeb71da015a2f etc-conf-d-ttyescape.conf diff --git a/main/ttyescape/ttyescape.post-install b/main/ttyescape/ttyescape-openrc.post-install similarity index 100% rename from main/ttyescape/ttyescape.post-install rename to main/ttyescape/ttyescape-openrc.post-install