aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rofi/APKBUILD
blob: 4984f378d06bb8fe35331cd799086baed20ee6c2 (plain) (blame)
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
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=rofi
pkgver=1.5.4
pkgrel=1
pkgdesc="A window switcher, application launcher and dmenu replacement"
url="https://github.com/DaveDavenport/rofi"
arch=""
license="MIT"
makedepends="meson bison flex pangomm-dev pango-dev libxcb-dev xcb-util-dev
	xcb-util-wm-dev xcb-util-xrm-dev glib-dev cairo-dev libxkbcommon-dev
	librsvg-dev startup-notification-dev ronn"
checkdepends="cppcheck xkeyboard-config"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/davatorium/rofi/releases/download/$pkgver/rofi-$pkgver.tar.gz
	scrollbar-test.patch
	"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=debugoptimized \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="317c9c4930fea21cb72d8551cc6f8ebb66a1fb2477e361a95fd3e5823a3b6597fdf74e110d45b4e9c17712ecf4c5a16bbedd159ec03d83f4ec23b8390cf398f7  rofi-1.5.4.tar.gz
2edf85133c4ce1817a37ea480913725ff086bc570bcac7ea5100d7516dce816ba6471e530a1d979fbaf0d68ce2d4e4e7ddc9c32f238c2ac2db95fde98f62a44e  scrollbar-test.patch"