From 49a1a23a31e89e4abe93f7f5acfa6bb662060227 Mon Sep 17 00:00:00 2001 From: Felitendo Date: Wed, 23 Sep 2026 23:15:52 +0200 Subject: [PATCH] chore: drop the aur copy, PKGBUILDS has the real one --- packaging/README.md | 4 ++- packaging/aur/PKGBUILD | 35 ------------------------ packaging/aur/plasma-face-unlock.install | 29 -------------------- 3 files changed, 3 insertions(+), 65 deletions(-) delete mode 100644 packaging/aur/PKGBUILD delete mode 100644 packaging/aur/plasma-face-unlock.install diff --git a/packaging/README.md b/packaging/README.md index d587f10..40c0193 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -8,12 +8,14 @@ description of the layout, and two descriptions drift. |---|---| | `deb/control`, `deb/copyright` | metadata for the Debian binary package | | `rpm/plasma-face-unlock.spec` | the RPM spec | -| `aur/PKGBUILD`, `aur/plasma-face-unlock.install` | the AUR package | | `build-deb.sh`, `build-rpm.sh` | build one package into `dist/` | | `check-version.sh` | refuses a tag that disagrees with the Makefile | | `publish-repos.sh` | regenerates the APT and RPM repositories | | `pages/` | the landing page and the `.repo` file served from GitHub Pages | +The AUR package lives in [Felitendo/PKGBUILDS](https://github.com/Felitendo/PKGBUILDS/tree/main/plasma-face-unlock). +Its CI notices a new GitHub release, updates the checksum and pushes to the AUR. + Unlike the shell-only LoonixTools, this one is compiled. The packages are per architecture (amd64 and x86_64), and they need the Plasma 6 and Qt 6 development packages to build: Debian 13 (trixie) and current Fedora have diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD deleted file mode 100644 index 577cdb3..0000000 --- a/packaging/aur/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Felitendo -# -# The PKGBUILD for the AUR, kept here next to the code it builds. The copy in -# github.com/Felitendo/PKGBUILDS is the one CI bumps and pushes. - -pkgname=plasma-face-unlock -pkgver=1.0.0 -pkgrel=1 -pkgdesc="Face ID for KDE Plasma: the lock screen, sudo and admin prompts by face, with a photo check" -arch=('x86_64' 'aarch64') -url="https://github.com/LoonixTools/plasma-face-unlock" -license=('GPL-3.0-or-later' 'MIT' 'Apache-2.0') -depends=('bash' 'coreutils' 'gawk' 'grep' 'sed' 'gettext' 'systemd' 'systemd-libs' 'pam' 'polkit' - 'opencv' 'qt6-base' 'qt6-declarative' 'layer-shell-qt' 'ki18n' 'kscreenlocker') -makedepends=('cmake' 'scdoc') -install="${pkgname}.install" -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" - "face_detection_yunet_2023mar.onnx::https://github.com/opencv/opencv_zoo/raw/main/models/face_detection_yunet/face_detection_yunet_2023mar.onnx" - "face_recognition_sface_2021dec.onnx::https://github.com/opencv/opencv_zoo/raw/main/models/face_recognition_sface/face_recognition_sface_2021dec.onnx") -noextract=('face_detection_yunet_2023mar.onnx' 'face_recognition_sface_2021dec.onnx') -sha256sums=('SKIP' - '8f2383e4dd3cfbb4553ea8718107fc0423210dc964f9f4280604804ed2552fa4' - '0ba9fbfa01b5270c96627c4ef784da859931e02f04419c829e83484087c34e79') - -build() { - make -C "${pkgname}-${pkgver}" VERSION="$pkgver" -} - -check() { - make -C "${pkgname}-${pkgver}" VERSION="$pkgver" test -} - -package() { - make -C "${pkgname}-${pkgver}" VERSION="$pkgver" MODELS_SRC="$srcdir" DESTDIR="$pkgdir" install -} diff --git a/packaging/aur/plasma-face-unlock.install b/packaging/aur/plasma-face-unlock.install deleted file mode 100644 index 815a1b5..0000000 --- a/packaging/aur/plasma-face-unlock.install +++ /dev/null @@ -1,29 +0,0 @@ -post_install() { - cat <<'MSG' - - plasma-face-unlock is installed but not active yet. - - plasma-face-unlock interactive menu - plasma-face-unlock enable set up your face and turn it on - - Run it as your own user, not with sudo. It asks for your password when it - needs to, and sudo and admin prompts stay with the password until you switch - them on under Settings. - -MSG -} - -pre_remove() { - cat <<'MSG' - - Before removing this package, run - - plasma-face-unlock disable - - as each user that turned it on. That takes face unlock back out of sudo and - polkit. (Removing it without that is safe too: the PAM line is written so - that a missing module is skipped, and sudo keeps asking for the password.) - -MSG - systemctl disable --now plasma-face-unlockd.socket plasma-face-unlockd.service >/dev/null 2>&1 || true -}