diff options
author | Shizcow | 2020-07-02 11:58:54 -0600 |
---|---|---|
committer | Shizcow | 2020-07-02 12:05:48 -0600 |
commit | 142936fad5bc8fc37025b214d1d8d854229f2492 (patch) | |
tree | 7d6bf88f064c3afbcdfd0e95fa3fe146372d9b27 /PKGBUILD | |
parent | 022f1cef90a9f4dc50a1563ca08edcd1edd80d0f (diff) | |
download | aur-142936fad5bc8fc37025b214d1d8d854229f2492.tar.gz |
Upstream: Merge pull request #11 from Shizcow/bugfix/dmenu_launches_on_incorrect_monitormenu now launches on correct monitor
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -11,7 +11,7 @@ PLUGINS="" _pkgname=dmenu _pkgbase=$_pkgname-rs pkgname=$_pkgbase-git -pkgver=5.2.2.11.g3493cbe +pkgver=5.2.3.r209.3493cbe pkgrel=1 pkgdesc="The development branch of dmenu-rs. Likely has unstable features." arch=('i686' 'x86_64') @@ -26,8 +26,12 @@ md5sums=('SKIP') pkgver() { cd $_pkgbase + # first get the most recent tag from master + git checkout master > /dev/null + git describe --tags | tr -d '\n' + # then get the commit hash from development branch git checkout develop > /dev/null - git describe --tags --long | sed 's/-/./g' + printf ".r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() ( |