Commit 6f3a5acc authored by Erik Reider's avatar Erik Reider

Updated PKGBUILD

parent 248fed7f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Erik Reider <erik.reider@protonmail.com> # Maintainer: Erik Reider <erik.reider@protonmail.com>
pkgname=swaync-git pkgname=swaync-git
_pkgname=swaync _pkgname=swaync
pkgver=r517.4275fa3 pkgver=r539.248fed7
pkgrel=1 pkgrel=1
pkgdesc="A simple notification daemon with a GTK panel for checking previous notifications like other DEs" pkgdesc="A simple notification daemon with a GTK panel for checking previous notifications like other DEs"
url="https://github.com/ErikReider/SwayNotificationCenter" url="https://github.com/ErikReider/SwayNotificationCenter"
...@@ -21,11 +21,7 @@ sha256sums=('SKIP') ...@@ -21,11 +21,7 @@ sha256sums=('SKIP')
pkgver() { pkgver() {
cd $_pkgname cd $_pkgname
( printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' \
|| printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
} }
prepare() { prepare() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment