diff options
author | Christian Hesse | 2022-03-21 15:41:53 +0100 |
---|---|---|
committer | Christian Hesse | 2022-03-21 15:41:53 +0100 |
commit | e279505f128e601c58e22152fac52b8076014fec (patch) | |
tree | 628c78990cd2af2e79a706fc95ebc5c2aec457b6 /PKGBUILD | |
parent | f5c3b098f121e35dcd2e43bbca42e56d77570ea1 (diff) | |
download | aur-e279505f128e601c58e22152fac52b8076014fec.tar.gz |
commit udev-block-notify-git 0.7.11.r1.ga3d3230-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,17 +1,17 @@ # Maintainer: Christian Hesse <mail@eworm.de> pkgname=udev-block-notify-git -pkgver=0.7.9.r3.g61c3a6f +pkgver=0.7.11.r1.ga3d3230 pkgrel=1 pkgdesc="Notify about udev block events - git checkout" arch=('i686' 'x86_64') url="https://github.com/eworm-de/udev-block-notify" depends=('libsystemd' 'libnotify' 'udev' 'gnome-icon-theme' 'gnome-icon-theme-extras') -makedepends=('git' 'systemd' 'markdown') +makedepends=('git' 'systemd' 'discount') provides=('udev-block-notify') conflicts=('udev-block-notify') license=('GPL') -source=('git://github.com/eworm-de/udev-block-notify.git') +source=('git+https://github.com/eworm-de/udev-block-notify.git') sha256sums=('SKIP') pkgver() { @@ -21,11 +21,11 @@ pkgver() { printf '%s.r%s.g%s' \ "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \ "$(git rev-list --count ${GITTAG}..)" \ - "$(git log -1 --format='%h')" + "$(git rev-parse --short HEAD)" else printf '0.r%s.g%s' \ "$(git rev-list --count master)" \ - "$(git log -1 --format='%h')" + "$(git rev-parse --short HEAD)" fi } |