Skip to content

Commit

Permalink
dev-go/qr: new package
Browse files Browse the repository at this point in the history
dependency of dev-go/twofactor
  • Loading branch information
lluixhi authored and mgorny committed Feb 7, 2018
1 parent 587512e commit 65f8eb5
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-go/qr/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST qr-0_p20161121.tar.gz 18730 BLAKE2B 975bfb34adf80a5f0ccd988de3800ea3df9b2081f9b810b9a5b2095c5c26b13346ca155f1c58ddb765d07f112cb81de52bfd7fde6b85c20151ec7749716687bc SHA512 f412e4549aef4e9e8d27046a23381df8300b7b9b0af33f85692ff81d92d8f540899a94c3cd74bc550b615b16c59d43361a1adfde5f53dcc6f1fbabe18d22c52e
12 changes: 12 additions & 0 deletions dev-go/qr/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Aric Belsito</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>
29 changes: 29 additions & 0 deletions dev-go/qr/qr-0_p20161121.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 65f8eb5

Please sign in to comment.