blob: 4877ac2eab1580155cf2d751ea901dc44dc7695c (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: tinywrkb <tinywrkb@gmail.com>
# Contributor: Morten Linderud <foxboron@archlinux.org>
# Contributor: Maxim Baz <rofi at maximbaz dot com>
# Contributor: Anatol Pomozov
# Contributor: Benjamin Chrétien <chretien + aur [at] lirmm [dot] fr>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: Rasi <rasi@xssn.at>
# Contributor: Sean Pringle <sean.pringle@gmail.com>
# Contributor: SanskritFritz (gmail)
_gitname=rofi
pkgname=rofi-lbonn-wayland-git
pkgver=1.7.0.r32.g2a68677b
pkgrel=1
pkgdesc='A window switcher, application launcher and dmenu replacement (Wayland fork)'
arch=(x86_64)
url="https://github.com/lbonn/$_gitname"
license=(MIT)
depends=(libxdg-basedir startup-notification libxkbcommon-x11 xcb-util-cursor xcb-util-wm
xcb-util-xrm librsvg wayland)
makedepends=(check git meson wayland-protocols)
optdepends=('i3-wm: use as a window switcher')
provides=(rofi)
conflicts=(rofi)
source=("${_gitname}::git+${url}.git#branch=wayland")
sha256sums=('SKIP')
pkgver() {
cd $_gitname
git describe --long --tags | sed 's/-wayland//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $_gitname
git submodule update --init
}
build() {
arch-meson \
-Dwayland=enabled \
-Dcheck=enabled \
$_gitname build
meson compile -C build
}
check() {
LC_ALL=C meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
cd $_gitname
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -dm755 "$pkgdir/usr/share/doc/$_gitname/examples"
install -Dm755 Examples/*.sh "$pkgdir/usr/share/doc/$_gitname/examples"
}
|