aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wofi/APKBUILD
blob: fe6ddbe566a32fb079984bc75da117b25a6cc02a (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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname="wofi"
pkgver="1.0"
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
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=release \
		build
	ninja -C build
}

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