aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rofi/APKBUILD
blob: cf69a3a5bc72e45412e102b7b50db53ec66587b1 (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
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=rofi
pkgver=1.5.3
pkgrel=0
pkgdesc="A window switcher, application launcher and dmenu replacement"
url="https://github.com/DaveDavenport/rofi"
arch="all"
license="MIT"
makedepends="bash bison cairo-dev flex glib-dev i3wm-dev librsvg-dev libxcb-dev
	libxkbcommon-dev pango-dev startup-notification-dev xcb-util-dev
	xcb-util-wm-dev xcb-util-xrm-dev"
checkdepends="check-dev xkeyboard-config"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/davatorium/rofi/releases/download/$pkgver/rofi-$pkgver.tar.xz"

build() {
	./configure \
	        --build=$CBUILD \
	        --host=$CHOST \
	        --prefix=/usr \
	        --sysconfdir=/etc \
	        --mandir=/usr/share/man \
	        --localstatedir=/var
        make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="6dc4b3c2818f4606e42e8185032788d40c4dae9e67596b3b7f767e8f6ca2963b85602baa4287474520ecdb8e333ae211fce5e7252f3b95e0f90b862040aad117  rofi-1.5.3.tar.xz"