Add app-crypt/cream
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
32
app-crypt/cream/cream-1.5.ebuild
Normal file
32
app-crypt/cream/cream-1.5.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Bring crypto to your stream"
|
||||
HOMEPAGE="https://z3bra.org/cream/"
|
||||
SRC_URI="
|
||||
https://dl.z3bra.org/releases/${P}.tar.bz2
|
||||
https://mirror.chaotic.ninja/software/${P}-deps.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
src_prepare() {
|
||||
elog "Populating ${S}/config.mk with new values..."
|
||||
echo "GO = ${EPREFIX}/usr/bin/go" > config.mk
|
||||
echo "GOOS = linux" >> config.mk
|
||||
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||
echo "MANDIR = ${EPREFIX}/usr/share/man" >> config.mk
|
||||
elog "Done."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
Reference in New Issue
Block a user