aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wofi/APKBUILD
blob: 047af697817fa8660a0920564739cfd78c1f4940 (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"
pkgrel=0
pkgdesc="A launcher/menu program for wlroots based wayland compositors."
url="https://hg.sr.ht/~scoopta/wofi"
arch="" # Uses autogenerated tarballs
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="44fe99af03f4d158d0548bcffa5da6612e03ba9033db86bdbd4fbf3990a7ff052f9bd0246da88cea7366cb1f9c9534dd19d1e819ae959d7c4e06c1f3e5785334  wofi-v1.1.tar.gz"