blob: 9aed869ac2c365618bc1a2a8a6a0412551c313f6 (
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
39
40
41
42
|
# Maintainer: Brett Cornwall <ainola@archlinux.org>
# Contributor: gilbus
pkgname=swaylock
pkgver=1.7.2
pkgrel=1
license=("MIT")
pkgdesc="Screen locker for Wayland"
makedepends=(
'meson'
'scdoc'
'wayland-protocols'
'git' # To make the version string
)
depends=(
'cairo'
'libxkbcommon'
'pam'
'wayland'
'gdk-pixbuf2' # For images other than PNG
)
arch=('x86_64')
url="https://github.com/swaywm/swaylock"
backup=('etc/pam.d/swaylock')
source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.sig})
sha256sums=('bf965d47fb6fc1402f854d4679d21a9459713fc0f330bc607c9585db097b4304'
'SKIP')
validpgpkeys=(
"9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A" # Drew DeVault
"34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48" # Simon Ser
)
build() {
arch-meson "$pkgname-$pkgver" build
ninja -C build
}
package() {
DESTDIR="$pkgdir/" ninja -C build install
install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "$pkgname-$pkgver/README.md" -t "$pkgdir/usr/share/doc/$pkgname"
}
|