summaryrefslogtreecommitdiff
path: root/user/rofi/APKBUILD
blob: 014be95c4fabad73cc581c57cb0fa4fc6d768540 (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
40
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=rofi
pkgver=1.6.0
pkgrel=0
pkgdesc="Powerful application switcher and launcher"
url="https://github.com/davatorium/rofi"
arch="all"
license="MIT AND Expat AND GPL-3.0+"
depends=""
checkdepends="check-dev"
makedepends="flex bison pango-dev cairo-dev libjpeg-turbo-dev librsvg-dev
	libxcb-dev libxinerama-dev libxrandr-dev xcb-util-wm-dev
	xcb-util-xrm-dev startup-notification-dev libxkbcommon-dev"
provides="dmenu"
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
	cd "$pkgdir"/usr/bin
	ln -s rofi dmenu
}

sha512sums="a965ca646a96c75e73a0a12d02573a65dc2ba55a4270b57b8b9f92392b5b80886324bf29fca622c2b9f5a753494267a922593052ac644fc2a0e10345899547e0  rofi-1.6.0.tar.xz"