diff options
author | Christian Hesse | 2022-10-25 10:49:45 +0200 |
---|---|---|
committer | Christian Hesse | 2022-10-25 10:49:45 +0200 |
commit | 515bc8ee865a2b3ab70c8c04044400d909a0d2d2 (patch) | |
tree | 45237d623a5eb1b1f4bb2878fce2043120c25040 | |
parent | fc8016bd3f0ea7772a1ebf3039c98b8b50bb3646 (diff) | |
download | aur-515bc8ee865a2b3ab70c8c04044400d909a0d2d2.tar.gz |
commit dhcpcd-hook-ntpdate 0.2.1-1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 8 insertions, 17 deletions
@@ -1,6 +1,6 @@ pkgbase = dhcpcd-hook-ntpdate pkgdesc = Hook for dhcpcd to sync time as soon as connection is up - pkgver = 0.2.0.r2.gc19d363 + pkgver = 0.2.1 pkgrel = 1 url = https://github.com/eworm-de/dhcpcd-hook-ntpdate arch = any @@ -8,8 +8,8 @@ pkgbase = dhcpcd-hook-ntpdate makedepends = git depends = ntp depends = dhcpcd - source = git://github.com/eworm-de/dhcpcd-hook-ntpdate.git + source = git+https://github.com/eworm-de/dhcpcd-hook-ntpdate.git#tag=0.2.1?signed + validpgpkeys = BD84DE71F493DF6814B0167254EDC91609BC9183 sha256sums = SKIP pkgname = dhcpcd-hook-ntpdate - @@ -1,27 +1,18 @@ # Maintainer: Christian Hesse <mail@eworm.de> pkgname=dhcpcd-hook-ntpdate -pkgver=0.2.0.r2.gc19d363 +pkgver=0.2.1 pkgrel=1 -pkgdesc="Hook for dhcpcd to sync time as soon as connection is up" +pkgdesc='Hook for dhcpcd to sync time as soon as connection is up' arch=('any') depends=('ntp' 'dhcpcd') makedepends=('git') -url="https://github.com/eworm-de/dhcpcd-hook-ntpdate" +url='https://github.com/eworm-de/dhcpcd-hook-ntpdate' license=('GPL') -source=('git://github.com/eworm-de/dhcpcd-hook-ntpdate.git') +validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183') # Christian Hesse <mail@eworm.de> +source=("git+https://github.com/eworm-de/dhcpcd-hook-ntpdate.git#tag=${pkgver}?signed") sha256sums=('SKIP') -pkgver() { - cd dhcpcd-hook-ntpdate/ - - if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then - echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")" - else - echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")" - fi -} - package() { cd dhcpcd-hook-ntpdate/ |