summaryrefslogblamecommitdiff
path: root/user/rofi/APKBUILD
blob: f8e930a0a6557d359c11954a3283ebec625de32e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                         
            






                                                    


                                                                         
























                                                                                         
                                                                                                                                                                
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.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"