aboutsummaryrefslogtreecommitdiffstats
path: root/community/dunst/APKBUILD
blob: d6cbb16e630b733dd287f2526c30cd4d84c0e166 (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
39
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=dunst
pkgver=1.9.0
pkgrel=1
pkgdesc="Customizable and lightweight notification-daemon"
url="https://dunst-project.org/"
license="BSD-3-Clause"
arch="all"
depends="dunstify"
makedepends="libxscrnsaver-dev libxinerama-dev libxrandr-dev
	libnotify-dev dbus-dev wayland-dev perl pango-dev wayland-protocols"
checkdepends="dbus librsvg bash"
subpackages="$pkgname-doc dunstify"
source="$pkgname-$pkgver.tar.gz::https://github.com/dunst-project/dunst/archive/v$pkgver.tar.gz"

build() {
	make all dunstify
}

check() {
	make test
}

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

dunstify() {
	pkgdesc="notify-send compatible command with additional features"
	amove usr/bin/dunstify
}

sha512sums="
e43c960561d1f804c1d8f73f9376b33f61bf1ba5c5d0579c9875ef96da6522e214d5b74166ca3375dff1b4b0291b611b2d9ac1fb41fa8722db04c21e898824d1  dunst-1.9.0.tar.gz
"