aboutsummaryrefslogtreecommitdiffstats
path: root/community/dunst/APKBUILD
blob: 6bd956043db0c23fa540904bcc2541368ec49026 (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
35
36
37
38
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=dunst
pkgver=1.6.1
pkgrel=1
pkgdesc="customizable and lightweight notification-daemon"
url="https://dunst-project.org/"
arch="all"
license="BSD-3-Clause"
makedepends="libxscrnsaver-dev libxinerama-dev libxrandr-dev
	libnotify-dev dbus-dev wayland-dev perl pango-dev wayland-protocols"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dunst-project/dunst/archive/v$pkgver.tar.gz"

case "$CARCH" in
	mips*|s390x)
		options="!check" ;; # tests depend on librsvg
	*)
		checkdepends="$checkdepends dbus librsvg bash" ;;
esac

build() {
	make all dunstify
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
	install -Dm755 dunstify "$pkgdir"/usr/bin/dunstify
}

sha512sums="
079ffd0ff75f1865b68cb8db261849cbe4f68b5c632c39ef8f7a3d193ff3eba3734bca31cb7268f27c9a411aec56e4c484c383b419bc0b4755b7d80ede84cd96  dunst-1.6.1.tar.gz
"