summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 484dedbbf0404b832ca5ccaebabbf84268a58cbf (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: itsme <mymail@ishere.ru>

pkgname=swaylock-effects
pkgver=1.7.0.0
pkgrel=4
pkgdesc="A fancier screen locker for Wayland."
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/jirutka/$pkgname"
license=('MIT')
depends=('libxkbcommon' 'cairo' 'gdk-pixbuf2' 'pam')
makedepends=('git' 'meson' 'ninja' 'scdoc' 'wayland' 'wayland-protocols')
provides=('swaylock')
conflicts=('swaylock')
backup=('etc/pam.d/swaylock')
source=("$url/archive/v$pkgver.tar.gz")
sha256sums=('e94d79e189602694bedfbafb553ce3c6c976426e16f76d93bf7e226dc2876eb6')

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

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