Skip to content

Commit

Permalink
Updated PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Dec 24, 2024
1 parent 248fed7 commit 6f3a5ac
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions build-scripts/PKGBUILD-git
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Maintainer: Erik Reider <[email protected]>
pkgname=swaync-git
_pkgname=swaync
pkgver=r517.4275fa3
pkgver=r539.248fed7
pkgrel=1
pkgdesc="A simple notification daemon with a GTK panel for checking previous notifications like other DEs"
url="https://github.com/ErikReider/SwayNotificationCenter"
Expand All @@ -21,11 +21,7 @@ sha256sums=('SKIP')

pkgver() {
cd $_pkgname
(
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)"
)
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
Expand Down

0 comments on commit 6f3a5ac

Please sign in to comment.