diff options
-rw-r--r-- | dev-lang/cue/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/cue/cue-0.7.0.ebuild | 24 | ||||
-rw-r--r-- | dev-lang/cue/metadata.xml | 8 |
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-lang/cue/Manifest b/dev-lang/cue/Manifest new file mode 100644 index 000000000000..2b920ce03d5c --- /dev/null +++ b/dev-lang/cue/Manifest @@ -0,0 +1,2 @@ +DIST cue-0.7.0-deps.tar.xz 31145680 BLAKE2B 51ac9c199515caff4bbc5d35102d4bcecd358588bb973dd7bdf3cd289d0bfc1a47c4fa6cd78ccb1e163eda2f223e9b770c62a9055b84bd94aa828745fba09441 SHA512 7e2028ef7757ac2dbcade2f803f291f07cf79ed778ac24e76c5694118ef0a53f7dec06814b3c522f4cd63358bf58e425169a7d7173a715e82d974367290e9a9c +DIST cue-0.7.0.tar.gz 1504772 BLAKE2B 3e10258105ae36462d77f501ee8ee32bcab79649017e663f346fc06188a3d2d143f72861f5f109b4129283fbbed5e06a0cf4adba98be6317da2c596f7390f168 SHA512 471ebc4ac81dfc0df42d8e8bd5e858b8a2f958c909ccd0b391ed4af669e7eba3908bcde63ca21973f072e35f66d307180fb3fc43627eb4de6385011bcf48aed1 diff --git a/dev-lang/cue/cue-0.7.0.ebuild b/dev-lang/cue/cue-0.7.0.ebuild new file mode 100644 index 000000000000..810334738868 --- /dev/null +++ b/dev-lang/cue/cue-0.7.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="open-source data validation language and inference engine" +HOMEPAGE="https://cuelang.org" +SRC_URI="https://github.com/cue-lang/cue/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build -o bin/cue ./cmd/cue +} + +src_install() { + dobin bin/* + einstalldocs +dodoc -r doc +} diff --git a/dev-lang/cue/metadata.xml b/dev-lang/cue/metadata.xml new file mode 100644 index 000000000000..3b2a9c591010 --- /dev/null +++ b/dev-lang/cue/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>williamh@gentoo.org</email> +<name>William Hubbs</name> +</maintainer> +</pkgmetadata> |