summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoronly_vip <onlyme_vip@protonmail.com>2021-09-28 20:16:30 +0530
committeronly_vip <onlyme_vip@protonmail.com>2021-09-28 20:16:30 +0530
commit57521cdb06d281ae20f8245619fef34c1717de08 (patch)
treef1008d255bf6be2c83a0e7f125a919c54d5085ef
downloadaur-57521cdb06d281ae20f8245619fef34c1717de08.tar.gz
initial commit
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD34
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..6286201
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+generated-by = makedeb-makepkg
+
+pkgbase = dunst-bin
+ pkgdesc = Lightweight and customizable notification daemon
+ pkgver = 1.6.1
+ pkgrel = 1
+ url = https://dunst-project.org/
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ makedepends = perl
+ makedepends = wayland-protocols
+ makedepends = libnotify-dev
+ makedepends = libxss-dev
+ makedepends = libxdg-basedir-dev
+ makedepends = libghc-pango-dev
+ makedepends = libxinerama-dev
+ makedepends = libxrandr-dev
+ makedepends = libwayland-client++0
+ makedepends = libwayland-client-extra++0
+ makedepends = libwayland-client0
+ makedepends = libwayland-dev
+ provides = dunst
+ provides = notification-daemon
+ provides = dunstify
+ conflicts = dunst
+ conflicts = dunstify
+ source = https://github.com/dunst-project/dunst-bin/archive/refs/tags/v1.6.1.tar.gz
+ sha512sums = 079ffd0ff75f1865b68cb8db261849cbe4f68b5c632c39ef8f7a3d193ff3eba3734bca31cb7268f27c9a411aec56e4c484c383b419bc0b4755b7d80ede84cd96
+
+pkgname = dunst-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..848e85b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: only_vip <onlyme_vip@protonmail.com>
+pkgname=dunst-bin
+_pkgname=dunst
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="Lightweight and customizable notification daemon"
+arch=('x86_64')
+url="https://dunst-project.org/"
+license=('BSD')
+makedepends=('git' 'perl' 'wayland-protocols' 'libnotify-dev' 'libxss-dev' 'libxdg-basedir-dev' 'libghc-pango-dev' 'libxinerama-dev' 'libxrandr-dev' 'libwayland-client++0' 'libwayland-client-extra++0' 'libwayland-client0' 'libwayland-dev')
+provides=('dunst' 'notification-daemon' 'dunstify')
+conflicts=('dunst' 'dunstify')
+# replaces=('dunst')
+source=("https://github.com/dunst-project/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=("079ffd0ff75f1865b68cb8db261849cbe4f68b5c632c39ef8f7a3d193ff3eba3734bca31cb7268f27c9a411aec56e4c484c383b419bc0b4755b7d80ede84cd96")
+
+# pkgver() {
+# cd "$_pkgname"
+# git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+# }
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 dunstify
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+ install -Dm755 "dunstify" "${pkgdir}/usr/bin/dunstify"
+ install -Dm755 "contrib/dunst_espeak.sh" "${pkgdir}/usr/bin/dunst_espeak.sh"
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}