aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wofi/APKBUILD
blob: 1b8445fc1f3fa6d0521116f7644ebab61eea2488 (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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=wofi
pkgver=1.1.2
pkgrel=0
pkgdesc="A launcher/menu program for wlroots based wayland compositors."
url="https://hg.sr.ht/~scoopta/wofi"
arch="" # Uses autogenerated tarballs, see https://todo.sr.ht/~sircmpwn/hg.sr.ht/33
license="GPL-3.0-only"
makedepends="wayland-dev gtk+3.0-dev meson"
options="!check" # no tests
subpackages="$pkgname-doc"
source="$pkgname-v$pkgver.tar.gz::https://hg.sr.ht/~scoopta/wofi/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="94981fbc76e354308a7d478b316c858407d35b4400bd44449c8dd4dbe64f36630af136b615dd52171bb341da1c699fdb5196e0a2484e253375c2df6d90d5eb3b  wofi-v1.1.2.tar.gz"