diff options
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r-- | sys-apps/mawk/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20200120-r1.ebuild (renamed from sys-apps/mawk/mawk-1.3.4_p20200120.ebuild) | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index c012fe080d03..193a8a9e4be6 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -1,3 +1,3 @@ DIST mawk-1.3.4-20200120.tgz 468855 BLAKE2B dd8bb8f66cb8bd67d8415ee25ce928113cf3f33f8135bc432a16f30b83df861cd2e29da9e0fac1dfb1a6796239d0c838ed72cf51467f8ed79b96068e3e1f1e93 SHA512 14d9a6642ce931bf6457d248fc2d6da4f0ea7541976ca282ea708b26df048f86fdf92c27f72d497501ccd43a244d1d1a606f1a2f266a7558306fea35dcc3041b -EBUILD mawk-1.3.4_p20200120.ebuild 866 BLAKE2B e545e11ccae15769a0869b85781decca3cd9e1eb03b9cd09bf463921a795d3a62e87e75073756d47a5998e72b21a914c5fc00d02bec976ec9b178742fe9e1acc SHA512 f18068e5fd1a546f134c774b653c8bf9e36db27e244ae27b99278dbaee90df403303deef98e075115527d1890d4b89296b31baf446737a32bc57129cdfbf6a24 +EBUILD mawk-1.3.4_p20200120-r1.ebuild 978 BLAKE2B 8b0e2a29815f86d41c28c740108c43225e38d04779fa5cb657720fb9faafdfe4cfc83d0c6cc3577bf624564a7e5c7ffa0c5325954b575e2f0fc04ef5b2c8843c SHA512 83db936d5b518ffc8f632272b0e48a539e93371984a02c853eb42ad2fa9a7a3cc5c8be5884b72462675bcf0eebeb96efd78ee0a104f309bb70c6d00327e8f5a0 MISC metadata.xml 422 BLAKE2B 8bd344848b5247eb1858b7cd31d91a796671c321610b826e602d9350e59769a4e6612438d9bf89ee2d6d63c327729d88a9ccb538b162beb816fde2910d0a4d9a SHA512 9adcc3c3b54ee935d3363e874e76f9e9b1efee00faac94184a84d10a6600dad4f11da51d4567acabf63707ca55f9b3d5ac3df107c6de8b38cad1da9891e82086 diff --git a/sys-apps/mawk/mawk-1.3.4_p20200120.ebuild b/sys-apps/mawk/mawk-1.3.4_p20200120-r1.ebuild index b91c7903a945..eba4448165cf 100644 --- a/sys-apps/mawk/mawk-1.3.4_p20200120.ebuild +++ b/sys-apps/mawk/mawk-1.3.4_p20200120-r1.ebuild @@ -9,16 +9,12 @@ 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" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -RDEPEND="app-eselect/eselect-awk" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - DOCS=( ACKNOWLEDGMENT CHANGES README ) src_configure() { @@ -35,9 +31,15 @@ src_install() { } pkg_postinst() { - eselect awk update ifunset + if has_version app-admin/eselect && has_version app-eselect/eselect-awk + then + eselect awk update ifunset + fi } pkg_postrm() { - eselect awk update ifunset + if has_version app-admin/eselect && has_version app-eselect/eselect-awk + then + eselect awk update ifunset + fi } |