diff options
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r-- | sys-apps/mawk/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20230404.ebuild | 51 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index 0e58f6551b3e..1142fd9d93d0 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -3,7 +3,10 @@ DIST mawk-1.3.4-20230203.tgz 401433 BLAKE2B c8756a09078becd942f53bc70c4da79cb970 DIST mawk-1.3.4-20230203.tgz.asc 729 BLAKE2B 8c5e06c87b6f3dd5262f438edf3932526efc20efc34821620a59094f828a478ff2a60b533456e609e161cb23bea3f77bdbc2975b3055b1206708ccdda9529c05 SHA512 6a077721e6c1d3929805676a02e2d4c5ac68cdc50c5124552d11b305216e419ca8ae6637f79f0b8fbab34a82543ed10d8f8f7f93f9e339cba4dfd3c37488f18a DIST mawk-1.3.4-20230322.tgz 401674 BLAKE2B c79e6736c1889fc43b0071dc8f88764b5fc3978e8ae6368c2395fc0947b867d414466533369a52f9e6a260dd29a4e273ec975eaa5607bbbd0fc9fbead5133620 SHA512 475f64acfbde686caf65ae3f227b75e1c2578011333467612d44c0e4658a49fa6c9c75ad3338c7ffd33e24d68b3d8156a0f1ad1189b60833597016060e6695c4 DIST mawk-1.3.4-20230322.tgz.asc 729 BLAKE2B c6b44d265e724008dd5eb4b2dda02153c5434be00136184065d7e2be19b357df17ff5ac8360238795b3bae206001031859241abb1947f043e0a3aef7d6037155 SHA512 bc9a2e78950e5cd42a3b6338f9ccf17d2f470f19b81c61e10e89fcd33fdbfa45a5b39c53aa0384195ff96c1d593a0cbaed0943b2b63f6f13d0bd4853b31a1015 +DIST mawk-1.3.4-20230404.tgz 403027 BLAKE2B cc10336c902fd72dbcbafd5638699cbc18d9c650451c56d4058a2c716b378060404b1c3e072ef114a73c2a1e0b43886711c6697e408ee10164049af84cb79063 SHA512 cc72b2f163f7809b9d2f6ecd4130663b1184be2025ff8727fc8659cf7fb4b3f9fbdc41c8a0443ccbe5e455b45fcc42e8722caec13b63546b9b03d010093fa484 +DIST mawk-1.3.4-20230404.tgz.asc 729 BLAKE2B 10a9bf264c75d24139a0715031ae732237602589b5d7ed8227e88bd1121c61f9770270ec7b03bd456c2eeab6fd9970fb07d0154d97dfe745ffa4cbf733839457 SHA512 7e6cc764598046834e95cf5451376024f9f0f05efc1b3acfdbff38c182910b42561fb77eea06d42b791fdb0fc552b7e9e60cdabc313b03d2c35401b2a6193664 EBUILD mawk-1.3.4_p20200120-r1.ebuild 985 BLAKE2B 162862e85225285b34ebc5a76a7b2e57f8c05655faca2578386acf029cdbbc5cd118e3c1c5c70d0a65bc990b17d16a1c74102d2e288890c2522702959926dba3 SHA512 369b36f09414fd527d65cacb97894800a340ca602f4b8f9ac30275416e67aeda1e2cf38804f0e7f9b5d28e921b49990138eb822564af623272b0177f1e6c71a6 EBUILD mawk-1.3.4_p20230203.ebuild 1225 BLAKE2B 173817cd4cd22aeb070a0470f712cb3edc810acb0a840374424da879521c7d098b865877bcebade99e0a209ae8e8cde74b9cbc845d9b3efd6cdaa4e9687335e8 SHA512 b8b013bc9023fc3efd0c4598112f7c6cd1bd90bc399d8f154dd36bc105b994ac8b8c9a10e63d6e05fe3ffe85bd275b550403c000ba276d1819c0c214e48eb496 EBUILD mawk-1.3.4_p20230322.ebuild 1305 BLAKE2B 5555b4d2e6b60e114c6cdc0c5fa626c0d54644344f3130ebc077e023a48870fc9504c5240210bbfe81fcec5de74476a708a44c2442b64e6369a5e1afdbfa1e82 SHA512 2afdcb0a33b1b082c47f4a9021871a514bab190c9b69d84b20962a980014b7669e8848d0011846f99168cadb861a024343986c079564a4a45eb05d1969853cfa +EBUILD mawk-1.3.4_p20230404.ebuild 1305 BLAKE2B 5555b4d2e6b60e114c6cdc0c5fa626c0d54644344f3130ebc077e023a48870fc9504c5240210bbfe81fcec5de74476a708a44c2442b64e6369a5e1afdbfa1e82 SHA512 2afdcb0a33b1b082c47f4a9021871a514bab190c9b69d84b20962a980014b7669e8848d0011846f99168cadb861a024343986c079564a4a45eb05d1969853cfa MISC metadata.xml 422 BLAKE2B 8bd344848b5247eb1858b7cd31d91a796671c321610b826e602d9350e59769a4e6612438d9bf89ee2d6d63c327729d88a9ccb538b162beb816fde2910d0a4d9a SHA512 9adcc3c3b54ee935d3363e874e76f9e9b1efee00faac94184a84d10a6600dad4f11da51d4567acabf63707ca55f9b3d5ac3df107c6de8b38cad1da9891e82086 diff --git a/sys-apps/mawk/mawk-1.3.4_p20230404.ebuild b/sys-apps/mawk/mawk-1.3.4_p20230404.ebuild new file mode 100644 index 000000000000..23e30e355999 --- /dev/null +++ b/sys-apps/mawk/mawk-1.3.4_p20230404.ebuild @@ -0,0 +1,51 @@ +# 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" +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 ) + +QA_CONFIG_IMPL_DECL_SKIP=( + arc4random_push # doesn't exist on Linux +) + +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 +} |