Date: Tuesday, October 4, 2022 @ 02:18:16
Author: blakkheim
Revision: 1320859
archrelease: copy trunk to community-x86_64
Added:
nawk/repos/community-x86_64/PKGBUILD
(from rev 1320858, nawk/trunk/PKGBUILD)
nawk/repos/community-x86_64/manpage-naming.patch
(from rev 1320858, nawk/trunk/manpage-naming.patch)
Deleted:
nawk/repos/community-x86_64/PKGBUILD
nawk/repos/community-x86_64/manpage-naming.patch
----------------------+
PKGBUILD | 94 ++++++++++++++++++++++++++-----------------------
manpage-naming.patch | 82 +++++++++++++++++++++---------------------
2 files changed, 91 insertions(+), 85 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-04 02:17:43 UTC (rev 1320858)
+++ PKGBUILD 2022-10-04 02:18:16 UTC (rev 1320859)
@@ -1,44 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Dave Reisner <[email protected]>
-
-pkgname=nawk
-_pkgname=awk
-pkgver=20220122
-pkgrel=1
-pkgdesc='The one, true implementation of AWK'
-url="https://github.com/onetrueawk/$_pkgname"
-license=(custom)
-arch=(x86_64)
-options=(!makeflags)
-depends=(glibc)
-_archive="$_pkgname-$pkgver"
-source=("$url/archive/refs/tags/$pkgver/$_archive.tar.gz"
- 'manpage-naming.patch')
-sha256sums=('720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042'
- 'fa1bade363896033a50fbdadc8fa2f490f85a044d11afcd537f317067c70d3b5')
-
-prepare() {
- cd "$_archive"
- patch -Np1 < "../${source[1]}"
-}
-
-check() {
- cd "$_archive"
- ./REGRESS
-}
-
-build() {
- cd "$_archive"
- # the final linking step doesn't honor LDFLAGS, so let's just throw it all
- # together into CFLAGS.
- make \
- "CPPFLAGS=-DHAS_ISBLANK $CPPFLAGS" \
- "CFLAGS=$CFLAGS $LDFLAGS"
-}
-
-package() {
- cd "$_archive"
- install -Dm0755 a.out "$pkgdir/usr/bin/$pkgname"
- install -Dm0644 $_pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: nawk/repos/community-x86_64/PKGBUILD (from rev 1320858,
nawk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-04 02:18:16 UTC (rev 1320859)
@@ -0,0 +1,50 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Maintainer: T.J. Townsend <[email protected]>
+# Contributor: Dave Reisner <[email protected]>
+
+pkgname=nawk
+pkgver=20220912
+_commit=(9e248c317b88470fc86aa7c988919dc49452c88c) # master
+pkgrel=1
+pkgdesc='The one, true implementation of AWK'
+url="https://github.com/onetrueawk/awk"
+license=(custom)
+arch=(x86_64)
+options=(!makeflags)
+depends=(glibc)
+makedepends=(git)
+source=("git+https://github.com/onetrueawk/awk.git#commit=${_commit}"
+ 'manpage-naming.patch')
+sha256sums=('SKIP'
+ 'fa1bade363896033a50fbdadc8fa2f490f85a044d11afcd537f317067c70d3b5')
+
+pkgver() {
+ cd awk
+ git log -n1 --pretty='format:%cd' --date=format:'%Y%m%d' ${_commit}
+}
+
+prepare() {
+ cd awk
+ patch -Np1 < "../${source[1]}"
+}
+
+check() {
+ cd awk
+ ./REGRESS
+}
+
+build() {
+ cd awk
+ # the final linking step doesn't honor LDFLAGS, so let's just throw it all
+ # together into CFLAGS.
+ make \
+ "CPPFLAGS=-DHAS_ISBLANK $CPPFLAGS" \
+ "CFLAGS=$CFLAGS $LDFLAGS"
+}
+
+package() {
+ cd awk
+ install -Dm0755 a.out "$pkgdir/usr/bin/$pkgname"
+ install -Dm0644 awk.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
Deleted: manpage-naming.patch
===================================================================
--- manpage-naming.patch 2022-10-04 02:17:43 UTC (rev 1320858)
+++ manpage-naming.patch 2022-10-04 02:18:16 UTC (rev 1320859)
@@ -1,41 +0,0 @@
-diff --git a/awk.1 b/awk.1
-index 5830143..339271e 100644
---- a/awk.1
-+++ b/awk.1
-@@ -7,12 +7,12 @@
- .fi
- .ft 1
- ..
--.TH AWK 1
-+.TH NAWK 1
- .CT 1 files prog_other
- .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 +31,7 @@ awk \- pattern-directed scanning and processing language
- .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
-@@ -426,7 +426,7 @@ and
- do not combine with other patterns.
- They may appear multiple times in a program and execute
- in the order they are read by
--.IR awk .
-+.IR nawk .
- .PP
- Variable names with special meanings:
- .TF FILENAME
---
-2.18.0
-
Copied: nawk/repos/community-x86_64/manpage-naming.patch (from rev 1320858,
nawk/trunk/manpage-naming.patch)
===================================================================
--- manpage-naming.patch (rev 0)
+++ manpage-naming.patch 2022-10-04 02:18:16 UTC (rev 1320859)
@@ -0,0 +1,41 @@
+diff --git a/awk.1 b/awk.1
+index 5830143..339271e 100644
+--- a/awk.1
++++ b/awk.1
+@@ -7,12 +7,12 @@
+ .fi
+ .ft 1
+ ..
+-.TH AWK 1
++.TH NAWK 1
+ .CT 1 files prog_other
+ .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 +31,7 @@ awk \- pattern-directed scanning and processing language
+ .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
+@@ -426,7 +426,7 @@ and
+ do not combine with other patterns.
+ They may appear multiple times in a program and execute
+ in the order they are read by
+-.IR awk .
++.IR nawk .
+ .PP
+ Variable names with special meanings:
+ .TF FILENAME
+--
+2.18.0
+