diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-go/zglob | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-go/zglob')
-rw-r--r-- | dev-go/zglob/Manifest | 3 | ||||
-rw-r--r-- | dev-go/zglob/metadata.xml | 5 | ||||
-rw-r--r-- | dev-go/zglob/zglob-0_p20171230.ebuild | 35 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-go/zglob/Manifest b/dev-go/zglob/Manifest new file mode 100644 index 000000000000..110b64dbc07c --- /dev/null +++ b/dev-go/zglob/Manifest @@ -0,0 +1,3 @@ +DIST zglob-0_p20171230.tar.gz 7993 BLAKE2B dd441531a30f6491c5c85b82e364bf8a21adb9d3842793ef2d9afc617ab5a7b7f6d83e53bb911bfe0a8205f5a434aaee42f2ab7160cce103f0e83cc198757fa7 SHA512 6eec0222ee27527b992809f235b6e06d24e857866f969f25901eaf21c9a352d6f50ec3ef2874d51cc7b91015bc9c6f197e79445e2c36ed1facad4ec04e919d83 +EBUILD zglob-0_p20171230.ebuild 776 BLAKE2B 628f0976fa333af0b4fa24f60c5936ea6fa8bbca6b5be5e42b88d10b68793ae39daa1161832c28c843a24289fd94ac73d18f52a978b2f825b60337404359b464 SHA512 ad66e99f8e227416d2056476be79942a58ea1a4805cc64fd96f379c594968a237401cb992a4f856bcfdc8e2592ce62003989bc1ad38466f3e477697175f3b9b3 +MISC metadata.xml 168 BLAKE2B 95e3160d1d6abb3e5510581fe45ddcd9ad526f89bbc0d3ad226e2782d148a0c71e50426809a87fb45e6fc9356e597a1d271002764caebc79be8846301eb82d5e SHA512 5edd6cda32972ff5e53cf5f883928bd1887b4a45572657f99101284a909ea04ff906b8f4068d247d1b3367bde813dbb37ba11565aaff880d9b500685b0f5a33d diff --git a/dev-go/zglob/metadata.xml b/dev-go/zglob/metadata.xml new file mode 100644 index 000000000000..585b0dc75dda --- /dev/null +++ b/dev-go/zglob/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + </pkgmetadata> diff --git a/dev-go/zglob/zglob-0_p20171230.ebuild b/dev-go/zglob/zglob-0_p20171230.ebuild new file mode 100644 index 000000000000..2d0bf65d5587 --- /dev/null +++ b/dev-go/zglob/zglob-0_p20171230.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN=github.com/mattn/go-zglob + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT=4959821b481786922ac53e7ef25c61ae19fb7c36 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Unix-optimized file globbing and directory walking for Go" +HOMEPAGE="https://github.com/mattn/go-zglob" +LICENSE="MIT" +SLOT="0/${PVR}" +RDEPEND="" + +src_compile() { + EGO_PN="${EGO_PN}/cmd/zglob" golang-build_src_compile +} + +src_install() { + dobin zglob + + golang-build_src_install + + pushd "src/${EGO_PN}" >/dev/null || die + einstalldocs + popd >/dev/null || die +} |