app-misc/mkcert: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Mon, 30 Jul 2018 12:37:01 +0000 (14:37 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 30 Jul 2018 12:37:01 +0000 (14:37 +0200)
Package-Manager: Portage-2.3.43, Repoman-2.3.10

app-misc/mkcert/Manifest [new file with mode: 0644]
app-misc/mkcert/metadata.xml [new file with mode: 0644]
app-misc/mkcert/mkcert-1.0.1.ebuild [new file with mode: 0644]

diff --git a/app-misc/mkcert/Manifest b/app-misc/mkcert/Manifest
new file mode 100644 (file)
index 0000000..8c707b9
--- /dev/null
@@ -0,0 +1 @@
+DIST mkcert-1.0.1.tar.gz 1695474 BLAKE2B eeef86a3e626f044c7b83d86be55082ce256752d834bf1388890db18f74678df57f2fc0050874dd4ff9ec4b849aa5b8d339e09e6af7e08a8f0b5236e0ac7aa09 SHA512 9e4ebadf19134fee7bf637fbb402df46a70d1f99ad06685a6a49da929fdd61b1ae9bea6b3f287201f488aec90505c60a58b454abb2efe584114d814023789600
diff --git a/app-misc/mkcert/metadata.xml b/app-misc/mkcert/metadata.xml
new file mode 100644 (file)
index 0000000..696d5b9
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>mrueg@gentoo.org</email>
+               <name>Manuel Rüger</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">FiloSottile/mkcert</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/app-misc/mkcert/mkcert-1.0.1.ebuild b/app-misc/mkcert/mkcert-1.0.1.ebuild
new file mode 100644 (file)
index 0000000..0176c20
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/FiloSottile/mkcert"
+
+inherit golang-build golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+
+DESCRIPTION="A zero-config tool to make locally trusted development certificates"
+HOMEPAGE="https://github.com/FiloSottile/mkcert"
+SRC_URI="https://github.com/FiloSottile/mkcert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+src_compile() {
+       pushd src/${EGO_PN} || die
+       GOPATH="${S}" go install -v ${EGO_PN} || die
+       popd || die
+}
+
+src_install() {
+       dobin bin/mkcert
+       dodoc src/${EGO_PN}/README.md
+}