summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Kuo2023-04-13 15:19:45 +0800
committerYi Kuo2023-04-13 15:19:45 +0800
commitba4c6186d85060f8fa2f7791a10cc3756b914828 (patch)
tree3c2c6878f0d7bc36ff339dbd2a2caef9da0a98f7
downloadaur-ba4c6186d85060f8fa2f7791a10cc3756b914828.tar.gz
init
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD45
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..21e30a595e97
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = i3lock-powerbtn-fingerprint-git
+ pkgdesc = Improved screenlocker based upon XCB and PAM, with added power button fingerprint verification support
+ pkgver = 2.14.1
+ pkgrel = 1
+ url = https://github.com/YiPrograms/i3lock-powerbtn-fingerprint
+ arch = x86_64
+ groups = i3
+ license = MIT
+ makedepends = meson
+ depends = xcb-util-image
+ depends = xcb-util-xrm
+ depends = libev
+ depends = cairo
+ depends = libxkbcommon-x11
+ depends = pam
+ depends = fprintd
+ provides = i3lock
+ conflicts = i3lock
+ conflicts = i3lock-powerbtn-fingerprint
+ options = docs
+ backup = etc/pam.d/i3lock,
+ backup = etc/pam.d/i3lock_fprint
+ source = git+https://github.com/YiPrograms/i3lock-powerbtn-fingerprint.git
+ sha512sums = SKIP
+
+pkgname = i3lock-powerbtn-fingerprint-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..11b20ffd68fe
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Yi Kuo <yi[at]yikuo[dot]dev>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jelle van der Waa <jelle@archlinux.org>
+# Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de>
+
+_pkgbase=i3lock-powerbtn-fingerprint
+pkgname=${_pkgbase}-git
+pkgver=2.14.1
+pkgrel=1
+pkgdesc='Improved screenlocker based upon XCB and PAM, with added power button fingerprint verification support'
+url='https://github.com/YiPrograms/i3lock-powerbtn-fingerprint'
+arch=('x86_64')
+license=('MIT')
+groups=('i3')
+makedepends=('meson')
+depends=('xcb-util-image' 'xcb-util-xrm' 'libev' 'cairo' 'libxkbcommon-x11' 'pam' 'fprintd')
+provides=('i3lock')
+conflicts=('i3lock' 'i3lock-powerbtn-fingerprint')
+options=('docs')
+backup=('etc/pam.d/i3lock', 'etc/pam.d/i3lock_fprint')
+source=('git+https://github.com/YiPrograms/i3lock-powerbtn-fingerprint.git')
+sha512sums=('SKIP')
+
+prepare() {
+ cd ${_pkgbase}
+
+ # Fix ticket FS#31544, sed line taken from gentoo
+ sed -i -e 's:login:system-auth:' pam/i3lock
+}
+
+
+build() {
+ arch-meson $_pkgbase build
+ meson compile -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+
+ cd ${_pkgbase}
+ install -Dm 644 i3lock.1 -t "${pkgdir}/usr/share/man/man1"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgbase}"
+}
+
+# vim: ts=2 sw=2 et: