summaryrefslogtreecommitdiff
path: root/sys-apps/mawk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-05 21:17:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-05 21:17:55 +0000
commit519f4aac6d5896fe0204e6429485f95240c7ff58 (patch)
tree467adac90d818b96465a433b66ef6bb65e369fef /sys-apps/mawk
parent8afe4133ba3d8586301516885427809020a3cafa (diff)
gentoo auto-resync : 05:02:2023 - 21:17:55
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r--sys-apps/mawk/Manifest3
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20230203.ebuild53
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest
index f1dbba01fa62..a029aeb06d23 100644
--- a/sys-apps/mawk/Manifest
+++ b/sys-apps/mawk/Manifest
@@ -1,3 +1,6 @@
DIST mawk-1.3.4-20200120.tgz 468855 BLAKE2B dd8bb8f66cb8bd67d8415ee25ce928113cf3f33f8135bc432a16f30b83df861cd2e29da9e0fac1dfb1a6796239d0c838ed72cf51467f8ed79b96068e3e1f1e93 SHA512 14d9a6642ce931bf6457d248fc2d6da4f0ea7541976ca282ea708b26df048f86fdf92c27f72d497501ccd43a244d1d1a606f1a2f266a7558306fea35dcc3041b
+DIST mawk-1.3.4-20230203.tgz 401433 BLAKE2B c8756a09078becd942f53bc70c4da79cb97092f05bae17de4e4f7333564ff8808bfec311c50d1e61c53e9b42d92e4e1a10e70278e250ea40d822bbb9c7a783bb SHA512 641874d4d41a8e510144ca5359dcd8a38183e18854211f8beb91d0d8aa77f3ca9d577a6b5a8762d0e2f2dba5cade93d64710e2b3e64f0082d312cf42cb2dcca4
+DIST mawk-1.3.4-20230203.tgz.asc 729 BLAKE2B 8c5e06c87b6f3dd5262f438edf3932526efc20efc34821620a59094f828a478ff2a60b533456e609e161cb23bea3f77bdbc2975b3055b1206708ccdda9529c05 SHA512 6a077721e6c1d3929805676a02e2d4c5ac68cdc50c5124552d11b305216e419ca8ae6637f79f0b8fbab34a82543ed10d8f8f7f93f9e339cba4dfd3c37488f18a
EBUILD mawk-1.3.4_p20200120-r1.ebuild 985 BLAKE2B 162862e85225285b34ebc5a76a7b2e57f8c05655faca2578386acf029cdbbc5cd118e3c1c5c70d0a65bc990b17d16a1c74102d2e288890c2522702959926dba3 SHA512 369b36f09414fd527d65cacb97894800a340ca602f4b8f9ac30275416e67aeda1e2cf38804f0e7f9b5d28e921b49990138eb822564af623272b0177f1e6c71a6
+EBUILD mawk-1.3.4_p20230203.ebuild 1491 BLAKE2B 6e0a238c32c67e1e72b5cb2f5a1c8be251f5f55b3e306d5ecf1e8a87e4cf905514b77f54334001108bb0013e49ce80599d1b7d79b3f2781ea58eb28f8e382b6b SHA512 45021fb79c025b8f778e430a6ad01d2fe0786f0094920c53474dabc4820f6ec89ae84b0ee1322623a4537cd2caf0237acc234ca229c3df6250522f8df93ab508
MISC metadata.xml 422 BLAKE2B 8bd344848b5247eb1858b7cd31d91a796671c321610b826e602d9350e59769a4e6612438d9bf89ee2d6d63c327729d88a9ccb538b162beb816fde2910d0a4d9a SHA512 9adcc3c3b54ee935d3363e874e76f9e9b1efee00faac94184a84d10a6600dad4f11da51d4567acabf63707ca55f9b3d5ac3df107c6de8b38cad1da9891e82086
diff --git a/sys-apps/mawk/mawk-1.3.4_p20230203.ebuild b/sys-apps/mawk/mawk-1.3.4_p20230203.ebuild
new file mode 100644
index 000000000000..022afdb68807
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20230203.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc
+inherit toolchain-funcs verify-sig
+
+MY_P="${P/_p/-}"
+DESCRIPTION="An (often faster than gawk) awk-interpreter"
+HOMEPAGE="https://invisible-island.net/mawk/mawk.html"
+SRC_URI="https://invisible-mirror.net/archives/${PN}/${MY_P}.tgz"
+SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${MY_P}.tgz.asc )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+# See NOTE: at top of CHANGES, so unkeyworded for now:
+# """
+# The regular expression changes begun in 2020 are incomplete, e.g., do
+# not handle a mixture of grouping and brace expressions. Fixing that
+# issue is needed before a new stable release.
+# """
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"
+
+DOCS=( ACKNOWLEDGMENT CHANGES README )
+
+src_configure() {
+ tc-export BUILD_CC
+ econf
+}
+
+src_install() {
+ default
+
+ exeinto /usr/share/doc/${PF}/examples
+ doexe examples/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+ if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then
+ eselect awk update ifunset
+ fi
+}
+
+pkg_postrm() {
+ if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then
+ eselect awk update ifunset
+ fi
+}