forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dependency of dev-go/twofactor
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST qr-0_p20161121.tar.gz 18730 BLAKE2B 975bfb34adf80a5f0ccd988de3800ea3df9b2081f9b810b9a5b2095c5c26b13346ca155f1c58ddb765d07f112cb81de52bfd7fde6b85c20151ec7749716687bc SHA512 f412e4549aef4e9e8d27046a23381df8300b7b9b0af33f85692ff81d92d8f540899a94c3cd74bc550b615b16c59d43361a1adfde5f53dcc6f1fbabe18d22c52e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |