blob: de583a2ad2b8c09634e5a47f9da7ea8fec4acaec (
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
43
44
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=wlogout
pkgver=1.2.1
pkgrel=0
pkgdesc="A wayland based logout menu"
url="https://github.com/ArtsyMacaw/wlogout"
arch="all"
license="MIT"
makedepends="gtk+3.0-dev gtk-layer-shell-dev meson scdoc"
install="$pkgname.post-install"
subpackages="
$pkgname-doc
$pkgname-bash-completion
$pkgname-fish-completion
$pkgname-zsh-completion
"
source="https://github.com/ArtsyMacaw/wlogout/archive/$pkgver/wlogout-$pkgver.tar.gz
fish.patch
default-layout.patch
"
options="!check" # no tests defined
prepare() {
default_prepare
# Fix inconsistent indentation.
sed -i 's/\t/ /g' style.css
}
build() {
abuild-meson . output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
b23e0678702d9edaa631b2e70c3ac21480ae58f73f5f6f0e297837a0121ac9cc2f04594f57e06368e7475824e2c436bd4987cfa6789a5b0e94a68e8ba2908758 wlogout-1.2.1.tar.gz
78bf4e56b1bb301e955fbc9992b03c0400d90245c026e9537f130d0e619f14579492fc76519ce35ba895d7b8ea71977b7aaa36286d7214343b96ce8afd9d9f5d fish.patch
e57e70cf0b28af85a522899f5ae490efcfd24f79173bde758c90d433a33caf25994c37b4c7de9ef06eee74738a43ee5427d53bcd121696c1a6248467b2db009c default-layout.patch
"
|