[arch-commits] Commit in ukui-biometric-auth/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Dec 25 18:09:54 UTC 2021


    Date: Saturday, December 25, 2021 @ 18:09:53
  Author: arojas
Revision: 1083733

archrelease: copy trunk to community-staging-x86_64

Added:
  ukui-biometric-auth/repos/community-staging-x86_64/
  ukui-biometric-auth/repos/community-staging-x86_64/PKGBUILD
    (from rev 1083732, ukui-biometric-auth/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: ukui-biometric-auth/repos/community-staging-x86_64/PKGBUILD (from rev 1083732, ukui-biometric-auth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-25 18:09:53 UTC (rev 1083733)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ukui-biometric-auth
+pkgver=1.2.2
+pkgrel=3
+pkgdesc="Biometric authentication for UKUI"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/ukui/ukui-biometric-auth"
+groups=('ukui')
+depends=('opencv' 'polkit-qt5')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-biometric-auth/archive/v$pkgver.tar.gz")
+sha512sums=('11513de8b4a89ccba2b418a6998fdf0c9306c2621442e0e576de53e81a510f99971a6b89ec312c4ab4d387306cd56835b2ea2192473b6eb547a14375de1005f9')
+
+prepare() {
+  mkdir -p build
+  sed -i 's|qt5/QtWidgets/||' $pkgname-$pkgver/polkit-agent/src/PolkitListener.cpp
+  sed -i 's|/lib/security|/usr/lib/security|' $pkgname-$pkgver/pam-biometric/CMakeLists.txt
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+  ninja
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list