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

                                                           
            
            






                                                    


                                                                         
























                                                                                         
                                                                                                                                                                
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=rofi
pkgver=1.6.1
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="c9794a7e4921e58ecc5fc7096218203f548efe2a49ffa6971accc12e9172248bda856ad06f8c11ada9abb62b9a43c7fffce1c1be9a3fe1365c94561b170a8b73  rofi-1.6.1.tar.xz"