app-misc/zcock - 0.2.2 (guru)

Search

Install

Install this version:

emerge -a =app-misc/zcock-0.2.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/zcock-0.2.2

Or alternatively:

emerge --autounmask-write -a =app-misc/zcock-0.2.2

Package Information

Description:
Print an emoji according to traditional chinese calendar and more
Homepage:
https://github.com/stkw0/zcock
License:
Unlicense

Ebuild Details

Version EAPI Keywords Slot
0.2.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Print an emoji according to traditional chinese calendar and more"
HOMEPAGE="https://github.com/stkw0/zcock"
SRC_URI="https://github.com/stkw0/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/IP2LOCATION-LITE-DB5.BIN.lzma"

LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="app-arch/xz-utils"

src_compile() {
	ego build
}

src_install() {
	dobin zcock

	insinto /usr/share
	doins "${WORKDIR}/IP2LOCATION-LITE-DB5.BIN"
}

Inherited Eclasses

Dependencies

BDEPEND

app-arch/xz-utils

Manifest for 0.2.2

Type File Size Source URLs
DIST IP2LOCATION-LITE-DB5.BIN.lzma 7363264 bytes https://gentoo.kropotkin.rocks/go-pkgs/IP2LOCATION-LITE-DB5.BIN.lzma
DIST zcock-0.2.2-vendor.tar.xz 217636 bytes https://gentoo.kropotkin.rocks/go-pkgs/zcock-0.2.2-vendor.tar.xz
DIST zcock-0.2.2.tar.gz 5751 bytes https://github.com/stkw0/zcock/archive/refs/tags/v0.2.2.tar.gz