feat: initial PKGBUILD collection for the Moonarch ecosystem
Add PKGBUILDs for moonset-git, moonlock-git, and moongreet-git. Intended as a paru custom AUR source for easy installation of all Moonarch components via `paru -S moonset-git`.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
pkgbase = moonlock-git
|
||||
pkgdesc = A secure Wayland lockscreen with GTK4, PAM and fingerprint support
|
||||
pkgver = 0.4.1.r2.g58c0761
|
||||
pkgrel = 1
|
||||
url = https://gitea.moonarch.de/nevaforget/moonlock
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = cargo
|
||||
depends = gtk4
|
||||
depends = gtk4-layer-shell
|
||||
depends = gtk-session-lock
|
||||
depends = pam
|
||||
depends = systemd-libs
|
||||
optdepends = fprintd: fingerprint authentication support
|
||||
provides = moonlock
|
||||
conflicts = moonlock
|
||||
source = git+https://gitea.moonarch.de/nevaforget/moonlock.git
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = moonlock-git
|
||||
@@ -0,0 +1,51 @@
|
||||
# ABOUTME: PKGBUILD for Moonlock — secure Wayland lockscreen.
|
||||
# ABOUTME: Builds from git source with automatic version detection.
|
||||
|
||||
# Maintainer: Dominik Kressler
|
||||
|
||||
pkgname=moonlock-git
|
||||
pkgver=0.4.1.r2.g58c0761
|
||||
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'
|
||||
)
|
||||
optdepends=(
|
||||
'fprintd: fingerprint authentication support'
|
||||
)
|
||||
provides=('moonlock')
|
||||
conflicts=('moonlock')
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/moonlock"
|
||||
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/moonlock"
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/moonlock"
|
||||
install -Dm755 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