aports/testing/rofi/APKBUILD
2019-03-25 18:52:44 +02:00

41 lines
1.1 KiB
Plaintext

# 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"