From 434b42dac51e916abbba5a4ecfdca700e5f470cc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 29 May 2021 15:22:59 +0200 Subject: community/lightdm: using duktape-polkit instead of polkit on i486 --- community/lightdm/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/lightdm/PKGBUILD (limited to 'community/lightdm/PKGBUILD') diff --git a/community/lightdm/PKGBUILD b/community/lightdm/PKGBUILD new file mode 100644 index 00000000..774930a4 --- /dev/null +++ b/community/lightdm/PKGBUILD @@ -0,0 +1,13 @@ +# use polkit-duktape instead of polkit on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//polkit/}) + makedepends+=(polkit-duktape) + if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f package_lightdm | \ + sed ' + /depends/s/polkit/polkit-duktape/ + ' + )" + fi +fi -- cgit v1.2.3-70-g09d2