app-misc/zcock: new package, add 0.0.2

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2023-11-10 21:08:38 +01:00
parent 773c30dc48
commit 8c1d9eec77
3 changed files with 43 additions and 0 deletions

3
app-misc/zcock/Manifest Normal file
View File

@@ -0,0 +1,3 @@
DIST IP2LOCATION-LITE-DB5.BIN.lzma 7363264 BLAKE2B c07b5c67d563c5a92b6e8f4e452806729e4da53141470158c818860593c0f33fe1f30994619439c569bce1be32bbdafd4a04c789b291fc6a6feac94d639a972a SHA512 7b8de3d7a1d819826599d9b97c198bfe1b6847607cacfa2ad3ac3f9c53184773c441164ef72e88d5e9502688df35a03d28735c3164f6f5c7831f7d2b6e7df2ce
DIST zcock-0.0.2-vendor.tar.xz 179152 BLAKE2B 7fd40c6565f455a52911e18ce8b0b03c565fa2e79f39a52d3d11a9546d7d9f4e7ecd6667782026227992ac90319f14849745ccd8f1cd3d64e0b1b7933f44b1b6 SHA512 73c29cfcc62d9448a9a7edf75d4186b3928f70b26270c5da848c222ca5179f7c9e2efee2b7c08e8ae50cd1db33311a240528d9dd9a8daabd92e964ee6eccc4a1
DIST zcock-0.0.2.tar.gz 4643 BLAKE2B a22e57129f330633b13278a5ce9161bd680a952276703283ac6ef0918f5331f84400f8cf3941e9e9e836a3f643e3db4ba68be34d37af21472c3b169cd02b2a06 SHA512 8d7d52784057ccb91261354f6e8fb978d6c20c24955d0c388d2f9232e6922c60a414e93e5c9efc022be2863d3f83a098cf0c9d94953d7f90cc148e556f458b6d

View File

@@ -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>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
<upstream>
<remote-id type="github">stkw0/zcock</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# 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 chinese calendar"
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"
}