summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a6c8d8c16d6..b726269893ab 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 86dde14051da..5828d6665986 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {