blob: 979f5c24a0c9dfa28c9d185d61342bdeaa1e6788 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Snry Shell <snry@shell.dev>
# Release: tag as v<version> and push tag, then create GitHub release.
# The AUR publish workflow will update pkgver and publish automatically.
pkgname=snry-dm
pkgver=3.2.0
pkgrel=1
pkgdesc='Snry Shell Display Manager - Hyprland-based greeter and login screen'
arch=('x86_64')
url='https://github.com/sonroyaalmerol/snry-shell'
license=('MIT')
depends=(
'snry-shell'
'pam'
)
makedepends=('git' 'go' 'base-devel' 'pam')
optdepends=()
source=("git+https://github.com/sonroyaalmerol/snry-shell.git#tag=v$pkgver")
sha256sums=('SKIP')
backup=('etc/pam.d/snry-dm')
install=snry-dm.install
build() {
cd "$srcdir/snry-shell"
go build -o snry-dm ./cmd/snry-dm
}
package() {
cd "$srcdir/snry-shell"
# Install snry-dm binary
install -Dm755 snry-dm "$pkgdir/usr/bin/snry-dm"
# Install systemd system unit
install -Dm644 configs/systemd/system/snry-dm.service "$pkgdir/usr/lib/systemd/system/snry-dm.service"
# Install PAM config
install -Dm644 configs/pam/snry-dm "$pkgdir/etc/pam.d/snry-dm"
}
|