aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fuzzel/APKBUILD
blob: 182719c68a0175a35f69ada4bfdefdb6162fc73d (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=fuzzel
pkgver=1.6.1
pkgrel=0
pkgdesc="Application launcher for wlroots-based Wayland compositors"
url="https://codeberg.org/dnkl/fuzzel"
license="MIT"
arch="all"
options="!check" # no test suite
makedepends="
	meson
	pixman-dev
	cairo-dev
	libpng-dev
	wayland-protocols
	wayland-dev
	libxkbcommon-dev
	tllist-dev
	fcft-dev
	scdoc
	"
subpackages="$pkgname-doc $pkgname-zsh-completion"
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/fuzzel/archive/$pkgver.tar.gz"
builddir="$srcdir/fuzzel"

# enable support for SVG icons where possible
case "$CARCH" in
	s390x|mips64) ;;
	*) makedepends="$makedepends librsvg-dev" ;;
esac

build() {
	abuild-meson . output
	meson compile -C output
}

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

sha512sums="
2562d7491b1da3eb7675dcaf508f90c98b235cdeba9f6c53184f48b1dffb0f77d4353acfb137b3278126e84c56429d2eee80581c9dea7fca951de66a31f8b9c3  fuzzel-1.6.1.tar.gz
"