summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
-rw-r--r--manpage-naming.patch43
3 files changed, 8 insertions, 57 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3b253c877d8..04a28f82100 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Sep 10 11:38:02 UTC 2019
+# Mon Dec 9 07:53:43 UTC 2019
pkgbase = nawk-git
pkgdesc = The version of awk described in "The AWK Programming Language".
- pkgver = 20190910.r97.34a6f41
+ pkgver = 20191208.r117.af86dac
pkgrel = 1
url = https://github.com/onetrueawk/awk
arch = i686
@@ -14,13 +14,7 @@ pkgbase = nawk-git
conflicts = nawk
options = !makeflags
source = nawk-git::git+https://github.com/onetrueawk/awk
- source = manpage-naming.patch
md5sums = SKIP
- md5sums = f79cfc163176b6b06891f4dbeadc218f
- sha1sums = SKIP
- sha1sums = a729df9321d409402c023937260e5627fa72f811
- sha256sums = SKIP
- sha256sums = 5f0e0e737626b5060559a1a97dfc191875d6b2f784aa4fe2256add03d38f968b
pkgname = nawk-git
diff --git a/PKGBUILD b/PKGBUILD
index a8a78179185..9536004d498 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=nawk-git
-pkgver=20190910.r97.34a6f41
+pkgver=20191208.r117.af86dac
pkgrel=1
epoch=
pkgdesc='The version of awk described in "The AWK Programming Language".'
@@ -19,11 +19,9 @@ backup=()
options=('!makeflags')
changelog=
install=
-source=("$pkgname::git+$url" manpage-naming.patch)
+source=("$pkgname::git+$url")
noextract=()
-md5sums=('SKIP' 'f79cfc163176b6b06891f4dbeadc218f')
-sha1sums=('SKIP' 'a729df9321d409402c023937260e5627fa72f811')
-sha256sums=('SKIP' '5f0e0e737626b5060559a1a97dfc191875d6b2f784aa4fe2256add03d38f968b')
+md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
@@ -34,7 +32,9 @@ pkgver() {
prepare() {
cd "$srcdir/$pkgname"
- patch -Np1 awk.1 ../manpage-naming.patch
+ sed -i 's/^\.TH AWK/.TH NAWK/;s/awk/nawk/g;s/Awk/Nawk/' awk.1
+ sed -i '/^\.CT .*/d;/^\.TF .*/d' awk.1
+
}
build() {
diff --git a/manpage-naming.patch b/manpage-naming.patch
deleted file mode 100644
index d6dfdefb85d..00000000000
--- a/manpage-naming.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- awk.1
-+++ awk.1
-@@ -7,12 +7,11 @@
- .fi
- .ft 1
- ..
--.TH AWK 1
--.CT 1 files prog_other
-+.TH NAWK 1
- .SH NAME
--awk \- pattern-directed scanning and processing language
-+nawk \- pattern-directed scanning and processing language
- .SH SYNOPSIS
--.B awk
-+.B nawk
- [
- .BI \-F
- .I fs
-@@ -31,7 +30,7 @@
- .I file ...
- ]
- .SH DESCRIPTION
--.I Awk
-+.I Nawk
- scans each input
- .I file
- for lines that match any of a set of patterns specified literally in
-@@ -197,7 +196,6 @@
- .BR atan2
- are built in.
- Other built-in functions:
--.TF length
- .TP
- .B length
- the length of its argument
-@@ -417,7 +415,6 @@
- do not combine with other patterns.
- .PP
- Variable names with special meanings:
--.TF FILENAME
- .TP
- .B ARGC
- argument count, assignable