makedeb
Lightweight and customizable notification daemon
Click here to go back to the commit logs for dunst-git.
Hash: f2314e3fac3650c5152f87430eab4c3cde848fe4
Message: minor fix
diff --git a/.SRCINFO b/.SRCINFO
index ee9367c..5f77777 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,34 +1,46 @@
-generated-by = makedeb-makepkg
-
-pkgbase = dunst-git
- pkgdesc = Lightweight and customizable notification daemon
- pkgver = 1.7.1.r1.g51dda0a
- pkgrel = 1
- url = https://dunst-project.org/
- arch = i686
- arch = x86_64
- arch = armv7h
- 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
- makedepends = libdbus-1-dev
- provides = dunst
- provides = notification-daemon
- provides = dunstify
- conflicts = dunst
- conflicts = dunstify
- source = git+https://github.com/dunst-project/dunst
- md5sums = SKIP
-
+generated-by = makedeb
pkgname = dunst-git
+pkgbase = dunst-git
+pkgdesc = Lightweight and customizable notification daemon
+pkgrel = 2
+pkgver = 11280c9a2022.04.14
+url = https://dunst-project.org/
+arch = i686
+arch = amd64
+arch = armv7h
+conflicts = dunst
+conflicts = dunstify
+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
+makedepends = libdbus-1-dev
+provides = dunst
+provides = notification-daemon
+provides = dunstify
+source = dunst::git+https://github.com/dunst-project/dunst
+md5sums = SKIP
+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
+makedepends = libdbus-1-dev
diff --git a/PKGBUILD b/PKGBUILD
index f61b882..3cfa94f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,26 @@
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=dunst-git
_pkgname=dunst
-pkgver=1.7.1.r1.g51dda0a
-pkgrel=1
+pkgver=11280c9a2022.04.14
+pkgrel=2
pkgdesc="Lightweight and customizable notification daemon"
-arch=('i686' 'x86_64' 'armv7h')
+arch=('i686' 'amd64' 'armv7h')
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' 'libdbus-1-dev')
provides=('dunst' 'notification-daemon' 'dunstify')
conflicts=('dunst' 'dunstify')
# replaces=('dunst')
-source=('git+https://github.com/dunst-project/dunst')
+source=("${_pkgname}::git+https://github.com/dunst-project/dunst")
md5sums=('SKIP')
MAKEFLAGS="-j$(nproc)"
pkgver() {
cd "$_pkgname"
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ _always=$(git describe --always | sed -e 's:-:.:g' -e 's:v::') # always is mobile, and switches between numbers and letters, can't use it for versioning
+ _commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
+ _date=$(git log -1 --date=short --pretty=format:%cd)
+ printf "%s%s%s\n" "${_commits}" "${_always}" "${_date}" | sed -e 's:-:.:g' -e 's:_:.:g'
}
build() {