aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rofi/APKBUILD
blob: 788870f81219ba39cfe4ff6a7605d354fd766e0d (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
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=rofi
pkgver=1.5.2
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"
builddir="$srcdir/$pkgname-$pkgver/"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="8fbbcaa040148d204878380f7cb96fa31228f72b68a97a5bcf8d8cd69740f6b185f5e5d2bc2e1d35e267a84b21576eb356c33be827fd1b767460665493360c16  rofi-1.5.2.tar.xz"