summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-go/qr/Manifest1
-rw-r--r--dev-go/qr/metadata.xml12
-rw-r--r--dev-go/qr/qr-0_p20161121.ebuild29
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-go/qr/Manifest b/dev-go/qr/Manifest
new file mode 100644
index 000000000000..cd1dba8e8de2
--- /dev/null
+++ b/dev-go/qr/Manifest
@@ -0,0 +1 @@
+DIST qr-0_p20161121.tar.gz 18730 BLAKE2B 975bfb34adf80a5f0ccd988de3800ea3df9b2081f9b810b9a5b2095c5c26b13346ca155f1c58ddb765d07f112cb81de52bfd7fde6b85c20151ec7749716687bc SHA512 f412e4549aef4e9e8d27046a23381df8300b7b9b0af33f85692ff81d92d8f540899a94c3cd74bc550b615b16c59d43361a1adfde5f53dcc6f1fbabe18d22c52e
diff --git a/dev-go/qr/metadata.xml b/dev-go/qr/metadata.xml
new file mode 100644
index 000000000000..004ae50f4a5f
--- /dev/null
+++ b/dev-go/qr/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" >
+ <email>lluixhi@gmail.com</email>
+ <name>Aric Belsito</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-go/qr/qr-0_p20161121.ebuild b/dev-go/qr/qr-0_p20161121.ebuild
new file mode 100644
index 000000000000..6b53bae69d74
--- /dev/null
+++ b/dev-go/qr/qr-0_p20161121.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN=rsc.io/qr
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64"
+ EGIT_COMMIT=48b2ede4844e13f1a2b7ce4d2529c9af7e359fc5
+ SRC_URI="https://github.com/rsc/qr/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Basic QR code library for Go"
+HOMEPAGE="https://github.com/rsc/qr"
+LICENSE="MIT"
+SLOT="0/${PVR}"
+RDEPEND=""
+
+src_install() {
+ golang-build_src_install
+
+ pushd "src/${EGO_PN}" >/dev/null || die
+ einstalldocs
+ popd >/dev/null || die
+}