diff options
author | Christian Hesse | 2021-12-13 10:40:00 +0100 |
---|---|---|
committer | Christian Hesse | 2021-12-13 10:40:00 +0100 |
commit | 961844682cebd2e61156cc0b4bc3929c3794995c (patch) | |
tree | 7535607e0d1c468081a575570685931bf221ac2d | |
parent | c93751fdb29510014bfd7a99d912de2e82d0ffd6 (diff) | |
download | aur-961844682cebd2e61156cc0b4bc3929c3794995c.tar.gz |
commit dyndhcpd-git 0.1.7.r2.g3450f14-1
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 13 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = dyndhcpd-git pkgdesc = start DHCP daemon that dynamically creates configuration based on assigned IP address - git checkout - pkgver = 0.0.9.r0.gdb40123 + pkgver = 0.1.7.r2.g3450f14 pkgrel = 1 url = https://github.com/eworm-de/dyndhcpd arch = i686 @@ -17,4 +17,3 @@ pkgbase = dyndhcpd-git sha256sums = SKIP pkgname = dyndhcpd-git - @@ -1,27 +1,33 @@ # Maintainer: Christian Hesse <mail@eworm.de> pkgname=dyndhcpd-git -pkgver=0.0.9.r0.gdb40123 +pkgver=0.1.7.r2.g3450f14 pkgrel=1 -pkgdesc="start DHCP daemon that dynamically creates configuration based on assigned IP address - git checkout" +pkgdesc='start DHCP daemon that dynamically creates configuration based on assigned IP address - git checkout' arch=('i686' 'x86_64') -url="https://github.com/eworm-de/dyndhcpd" +url='https://github.com/eworm-de/dyndhcpd' depends=('dhcp') optdepends=('ipxe: for network boot') makedepends=('git' 'markdown') license=('GPL') conflicts=('dyndhcpd') provides=('dyndhcpd') -source=('git://github.com/eworm-de/dyndhcpd.git') backup=('etc/dyndhcpd/dhcpd.conf') +source=('git://github.com/eworm-de/dyndhcpd.git') +sha256sums=('SKIP') pkgver() { cd dyndhcpd/ 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")" + 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 rev-parse --short HEAD)" else - echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")" + printf '0.r%s.g%s' \ + "$(git rev-list --count master)" \ + "$(git rev-parse --short HEAD)" fi } @@ -36,5 +42,3 @@ package() { make DESTDIR="${pkgdir}" install } - -sha256sums=('SKIP') |