refactor: moonlock-git → moonlock (no-suffix tag-build)
Build and publish packages / build-and-publish (push) Failing after 5s
Build and publish packages / build-and-publish (push) Failing after 5s
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
pkgbase = moonlock
|
||||
pkgdesc = A secure Wayland lockscreen with GTK4, PAM and fingerprint support
|
||||
pkgver = 0.6.17
|
||||
pkgrel = 1
|
||||
url = https://gitea.moonarch.de/nevaforget/moonlock
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = cargo
|
||||
makedepends = gtk4
|
||||
makedepends = gtk4-layer-shell
|
||||
makedepends = gtk-session-lock
|
||||
makedepends = pam
|
||||
makedepends = pkgconf
|
||||
depends = gtk4
|
||||
depends = gtk4-layer-shell
|
||||
depends = gtk-session-lock
|
||||
depends = pam
|
||||
depends = systemd-libs
|
||||
optdepends = fprintd: fingerprint authentication support
|
||||
conflicts = moonlock-git
|
||||
replaces = moonlock-git
|
||||
source = git+https://gitea.moonarch.de/nevaforget/moonlock.git#tag=v0.6.17
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = moonlock
|
||||
@@ -0,0 +1,51 @@
|
||||
# ABOUTME: PKGBUILD for Moonlock — secure Wayland lockscreen.
|
||||
# ABOUTME: Builds from a versioned git tag.
|
||||
|
||||
# Maintainer: Dominik Kressler
|
||||
|
||||
pkgname=moonlock
|
||||
pkgver=0.6.17
|
||||
pkgrel=1
|
||||
pkgdesc="A secure Wayland lockscreen with GTK4, PAM and fingerprint support"
|
||||
arch=('x86_64')
|
||||
url="https://gitea.moonarch.de/nevaforget/moonlock"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'gtk4'
|
||||
'gtk4-layer-shell'
|
||||
'gtk-session-lock'
|
||||
'pam'
|
||||
'systemd-libs'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
'cargo'
|
||||
'gtk4'
|
||||
'gtk4-layer-shell'
|
||||
'gtk-session-lock'
|
||||
'pam'
|
||||
'pkgconf'
|
||||
)
|
||||
optdepends=(
|
||||
'fprintd: fingerprint authentication support'
|
||||
)
|
||||
replaces=('moonlock-git')
|
||||
conflicts=('moonlock-git')
|
||||
source=("git+${url}.git#tag=v$pkgver")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/moonlock"
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/moonlock"
|
||||
install -Dm755 "${CARGO_TARGET_DIR:-target}/release/moonlock" "$pkgdir/usr/bin/moonlock"
|
||||
|
||||
# PAM configuration
|
||||
install -Dm644 config/moonlock-pam "$pkgdir/etc/pam.d/moonlock"
|
||||
|
||||
# Example config
|
||||
install -Dm644 config/moonlock.toml.example "$pkgdir/etc/moonlock/moonlock.toml.example"
|
||||
}
|
||||
Reference in New Issue
Block a user