diff options
author | Sam James <sam@gentoo.org> | 2023-02-05 19:45:35 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-05 19:53:40 +0000 |
commit | caf5457913d618d956ef3f86ba7f39d8db3e7cb3 (patch) | |
tree | cb88f3aee9fae55be9ae7b59e0d61d8cfd32e36c | |
parent | dev-libs/cdk: add 5.0.20230201 (diff) | |
download | gentoo-caf5457913d618d956ef3f86ba7f39d8db3e7cb3.tar.gz gentoo-caf5457913d618d956ef3f86ba7f39d8db3e7cb3.tar.bz2 gentoo-caf5457913d618d956ef3f86ba7f39d8db3e7cb3.zip |
sys-apps/mawk: add 1.3.4_p20230203
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-apps/mawk/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20230203.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index b37c009b2742..31183e830ce5 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -1 +1,3 @@ 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 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 +} |