summaryrefslogblamecommitdiff
path: root/user/rofi/APKBUILD
blob: c7b8c388d8fdf7b992214c7412e466edc9dac6f1 (plain) (tree)







































                                                                                                                                                                
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=rofi
pkgver=1.5.4
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 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="03def57fcf919e6c4d8d07345ff37f103fb32aef0b718a6a021ae31cca23bfc962a847a0deb2ffca245d2b8ebac0b60264f00a7b1aa64bf7d313b82e417710ef  rofi-1.5.4.tar.xz"