-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
diff --git a/Makefile b/Makefile | ||
index 1b1b284..4408d1f 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -207,21 +207,27 @@ clean-wayland-protocols: | ||
install: install-dunst install-dunstctl install-dunstrc install-service | ||
|
||
install-dunst: dunst doc | ||
+ install -d ${DESTDIR}${BINDIR} | ||
install -Dm755 dunst ${DESTDIR}${BINDIR}/dunst | ||
+ install -d ${DESTDIR}${MANPREFIX}/man1 | ||
+ install -d ${DESTDIR}${MANPREFIX}/man5 | ||
install -Dm644 docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1/dunst.1 | ||
install -Dm644 docs/dunst.5 ${DESTDIR}${MANPREFIX}/man5/dunst.5 | ||
install -Dm644 docs/dunstctl.1 ${DESTDIR}${MANPREFIX}/man1/dunstctl.1 | ||
|
||
install-dunstctl: dunstctl | ||
+ install -d ${DESTDIR}${BINDIR} | ||
install -Dm755 dunstctl ${DESTDIR}${BINDIR}/dunstctl | ||
|
||
ifeq (1,${SYSCONF_FORCE_NEW}) | ||
install-dunstrc: | ||
+ install -d ${DESTDIR}${SYSCONFDIR}/dunst | ||
install -Dm644 dunstrc ${DESTDIR}${SYSCONFFILE} | ||
endif | ||
|
||
install-service: install-service-dbus | ||
install-service-dbus: service-dbus | ||
+ install -d ${DESTDIR}${SERVICEDIR_DBUS} | ||
install -Dm644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service | ||
ifneq (0,${SYSTEMD}) | ||
install-service: install-service-systemd | ||
@@ -232,22 +238,27 @@ endif | ||
ifneq (0,${DUNSTIFY}) | ||
install: install-dunstify | ||
install-dunstify: dunstify | ||
+ install -d ${DESTDIR}${BINDIR} | ||
install -Dm755 dunstify ${DESTDIR}${BINDIR}/dunstify | ||
endif | ||
|
||
ifneq (0,${COMPLETIONS}) | ||
install: install-completions | ||
install-completions: | ||
+ install -d ${DESTDIR}${BASHCOMPLETIONDIR} | ||
install -Dm644 completions/dunst.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunst | ||
install -Dm644 completions/dunstctl.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunstctl | ||
+ install -d ${DESTDIR}${ZSHCOMPLETIONDIR} | ||
install -Dm644 completions/_dunst.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunst | ||
install -Dm644 completions/_dunstctl.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunstctl | ||
+ install -d ${DESTDIR}${FISHCOMPLETIONDIR} | ||
install -Dm644 completions/dunst.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunst | ||
install -Dm644 completions/dunstctl.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstctl | ||
|
||
ifneq (0,${DUNSTIFY}) | ||
install: install-completions-dunstify | ||
install-completions-dunstify: | ||
+ install -d ${DESTDIR}${FISHCOMPLETIONDIR} | ||
install -Dm644 completions/dunstify.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstify | ||
endif | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
pkgname = "dunst" | ||
pkgver = "1.11.0" | ||
pkgrel = 0 | ||
build_style = "makefile" | ||
make_cmd = "gmake" | ||
make_check_target = "test" | ||
make_use_env = True | ||
hostmakedepends = ["gmake", "perl", "pkgconf", "wayland-progs"] | ||
makedepends = [ | ||
"cairo-devel", | ||
"dbus-devel", | ||
"glib-devel", | ||
"libnotify-devel", | ||
"linux-headers", | ||
"libxinerama-devel", | ||
"libxrandr-devel", | ||
"libxscrnsaver-devel", | ||
"pango-devel", | ||
"wayland-devel", | ||
"wayland-protocols", | ||
] | ||
checkdepends = ["bash", "dbus"] | ||
pkgdesc = "Notification daemon" | ||
maintainer = "ttyyls <[email protected]>" | ||
license = "BSD-3-Clause" | ||
url = "https://dunst-project.org" | ||
source = ( | ||
f"https://github.com/dunst-project/dunst/archive/refs/tags/v{pkgver}.tar.gz" | ||
) | ||
sha256 = "31c0eb749ca83dab7f5af33beb951c9f9a8451263fcee6cbcf8ba3dedbf2e1f1" | ||
env = {"SYSCONFDIR": "/etc"} | ||
hardening = ["vis", "cfi"] | ||
|
||
|
||
def post_install(self): | ||
self.install_license("LICENSE") |