summaryrefslogtreecommitdiff
path: root/community/wofi/APKBUILD
blob: 3f530b1e95b400e19e46cd89050234132fbb9b29 (plain)
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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=wofi
pkgver=1.3
pkgrel=0
pkgdesc="A launcher/menu program for wlroots based wayland compositors."
url="https://hg.sr.ht/~scoopta/wofi"
arch="all"
license="GPL-3.0-only"
makedepends="wayland-dev gtk+3.0-dev meson"
options="!check" # no tests
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-v$pkgver.tar.gz::https://hg.sr.ht/~scoopta/wofi/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	abuild-meson -Db_lto=true . build
	meson compile -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="
90a1674bcf5365aa47d6a8b987e7507539da5652f045b18446c073913399a6e46ffd50a6a83212d521c349840912ec9edab0c69dd565e2a49b98da2a72aebcd3  wofi-v1.3.tar.gz
"