diff options
author | aksr | 2018-08-24 16:34:59 +0200 |
---|---|---|
committer | aksr | 2018-08-24 16:35:52 +0200 |
commit | fdf0916b6bc177a12319a13dc7eef99cbc34eec5 (patch) | |
tree | bdaa29bf15618eb225fe15e1ced86250bb81b44f | |
parent | df101c49374fdc7554325346a385716dec8a84ad (diff) | |
download | aur-fdf0916b6bc177a12319a13dc7eef99cbc34eec5.tar.gz |
Change URL and tweak pkgver().
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 9 deletions
@@ -1,10 +1,10 @@ # Generated by mksrcinfo v8 -# Wed Aug 8 14:29:29 UTC 2018 +# Fri Aug 24 14:34:32 UTC 2018 pkgbase = nawk-git - pkgdesc = Brian Kernighan's Awk - With Fixes - pkgver = r26.24e81c2 + pkgdesc = The version of awk described in "The AWK Programming Language". + pkgver = 20180823.r9.0f4e1ba pkgrel = 1 - url = https://github.com/arnoldrobbins/bwk-awk + url = https://github.com/onetrueawk/awk arch = i686 arch = x86_64 license = MIT @@ -12,7 +12,7 @@ pkgbase = nawk-git depends = glibc conflicts = nawk options = !makeflags - source = nawk-git::git+https://github.com/arnoldrobbins/bwk-awk + source = nawk-git::git+https://github.com/onetrueawk/awk source = manpage-naming.patch md5sums = SKIP md5sums = f79cfc163176b6b06891f4dbeadc218f @@ -1,11 +1,11 @@ # Maintainer: aksr <aksr at t-com dot me> pkgname=nawk-git -pkgver=r26.24e81c2 +pkgver=20180823.r9.0f4e1ba pkgrel=1 epoch= -pkgdesc="Brian Kernighan's Awk - With Fixes" +pkgdesc='The version of awk described in "The AWK Programming Language".' arch=('i686' 'x86_64') -url="https://github.com/arnoldrobbins/bwk-awk" +url="https://github.com/onetrueawk/awk" license=('MIT') groups=() depends=(glibc) @@ -27,7 +27,9 @@ sha256sums=('SKIP' '5f0e0e737626b5060559a1a97dfc191875d6b2f784aa4fe2256add03d38f pkgver() { cd "$srcdir/$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "%s.r%s.%s" "$(grep '*version' main.c | sed 's/.*version //;s/";//')" \ + "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short HEAD)" } prepare() { |