summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ee92b7ae0537d4cb378e0e40c4721e1f0e578b8 (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
# Maintainer: Icelk <main@icelk.dev>

pkgname=swaylock-1.5
pkgver=1.5
pkgrel=2
pkgdesc="Screen locker for Wayland with layers support, enabling dynamic compositor blurring"
arch=('i686' 'x86_64')
url="https://github.com/swaywm/swaylock"
license=('MIT')
conflicts=('swaylock')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
depends=('wayland' 'libxkbcommon' 'pam' 'cairo' 'gdk-pixbuf2')
makedepends=('meson' 'git' 'scdoc' 'wayland-protocols')
#source=("https://github.com/swaywm/swaylock/archive/refs/tags/1.5.tar.gz")
source=("$pkgname::git+$url#commit=366db56")
sha1sums=('SKIP')

build() {
	cd "$pkgname"
	meson build --prefix=/usr
	ninja -C build
}

package() {
	cd "$pkgname"
	DESTDIR="$pkgdir" ninja -C build install
}