summaryrefslogtreecommitdiff
path: root/testing/fyi/APKBUILD
blob: a232b1a672838e90d0bfa45d94f3b49c34becbff (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
28
29
30
31
32
33
34
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=fyi
pkgver=1.0.2
pkgrel=0
pkgdesc="A notify-send alternative"
url="https://codeberg.org/dnkl/fyi"
arch="all"
license="MIT"
makedepends="meson ninja scdoc dbus-dev"
subpackages="
	$pkgname-doc
	$pkgname-bash-completion
	$pkgname-fish-completion
"
options="!check"
source="
	$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/fyi/archive/$pkgver.tar.gz
	0001-main-add-missing-include.patch
"
builddir="$srcdir/fyi"

build() {
	meson setup build --prefix /usr
	meson compile -C build
}

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

sha512sums="
fe4f676c4683a9368d60d62f8679b343fdc14fe661ec2d60ebc3d5bb6f865a26bad1d247d00cbf3d04d558598cccf114a29184c2b3d8c3570ad0327220b97f78  fyi-1.0.2.tar.gz
3858ef0b310874faba1422cc8cd1d7ee4805ef720f2f57c2d5139960a537f2eb47f026a72b817acffebfb444f113b4f2f5473bc5ac4426f06d45a274a41f0be9  0001-main-add-missing-include.patch
"