net-im/gomuks: Bump to 0.2.4_p20220330, move gomod to tarball
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
aaa3dd6152
commit
f420ec1b65
@ -130,6 +130,8 @@ DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.6.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25
|
||||
DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.6.zip 8610726 BLAKE2B 78870544de29f5cd9216befa8822c2387654c3987e09994dccf55d210ad7c517edb93bddcc68bd981f2c083a4ec5e012d558b0164901e2d74f6f447e75edfadf SHA512 494d58f2bc02819ec24d8e55f668a06694568e63bc4b41064a7e44aefcb2778c74983fc9126b50277845da8e6739e83fc1334aed989981e8e53b869878803d17
|
||||
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20180917221912-90fa682c2a6e.mod 26 BLAKE2B 2a44c2cc034af3473d9a1d4e1c23b0f4542333853bfc0ecbfcf9eacacbb3593b449fcfc94d23f49ccc16e5a844bc72a3462a3e08a5c26194106a64d1f2732e0a SHA512 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0
|
||||
DIST gomuks-0.2.4_p20220216.tar.gz 285847 BLAKE2B 3422929ee85cc1b1975797477e0f9f1f1f2114ee37e15b0fc6b2f581e0c7cd91eb977204578a5c7d4015d7e109582e0d7b1cb58e21e4be18ca289d8d345e9d1c SHA512 a5e2e0dec692740c9458db96648dbcc69bee2931a152e78c84906ade0362767e5139f48cba7ea076faa73adfde62aba811becf1f67345387775084d4c1dab31b
|
||||
DIST gomuks-0.2.4_p20220330-deps.tar.xz 86996800 BLAKE2B eacee10912fcdf93d7a8adbe915286b21c6575990a03e4c01438fbea79d9d4cf0326ce5f2bf1d88cdbd99671f06b0eb4cc285c1123aa4cba8cd6de64a4542ace SHA512 4546681fa7ed89f061ff2ea19ad0dde7a4020b099dfdc5dd843f54c0ef6d4f77bf8796ccd9ab0b8903b9d9941ae6294153e0a23b05e99c726a992266c42d2cc7
|
||||
DIST gomuks-0.2.4_p20220330.tar.gz 285445 BLAKE2B fbb63b6c5e3b2bb47e0ed92619980476ad9ecf6b77909c24284450e1fbab273012449d0f73167c15dfad24de1a9e1bbf85a27097843023fcde27c52e99b9125c SHA512 ea12767f8751d855be6ec3eac46fd1e6f63c33f001e3e13ecb5177f776d546c5845870bd181c1241ca0d717e7ada1680675053e2f56355e8787d22465ace0469
|
||||
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
|
||||
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.zip 39844 BLAKE2B b3dab69dbd1ebb999938c12595de7007dce9431cfeaeb5e77aba80c49918d1a4edf7fb95279e9b66686cb45deaf57a011c083e55fb66ec2c614582ba323954da SHA512 97c96a92ec86372c2f06141c30bceaa86ed62c1db34696f9542f43f3411cb0a37dea654de923a5ee054e603198179b9048e3b477da140e4092ffadc4525b9241
|
||||
DIST gopkg.in%2Ffsnotify.v1%2F@v%2Fv1.4.7.mod 28 BLAKE2B ee2514c386f6cb3ff4a9b829d903e57372ce765aeab91fb2f29e95358e3472e0612a00f2982f53790159738e416819e368afa03e44bf8f6b43511347bc6d6995 SHA512 7cf7d1933039974dd4fa16febc52cc118bcd0e35c329d4c563c7f411b8000d9e17be5bca9a60d94f5309cbef97b3d176110704ebfbc3c114572cbadf63a55a34
|
||||
|
48
net-im/gomuks/gomuks-0.2.4_p20220330.ebuild
Normal file
48
net-im/gomuks/gomuks-0.2.4_p20220330.ebuild
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
EGO_PN="github.com/tulir/gomuks"
|
||||
inherit go-module
|
||||
COMMIT_ID="a7562a068ad46839d18b01fa816c60362586999d"
|
||||
|
||||
DESCRIPTION="A terminal based Matrix client written in Go"
|
||||
HOMEPAGE="https://github.com/tulir/gomuks"
|
||||
|
||||
if [[ ${PV} == *_p* ]]; then
|
||||
SRC_URI="
|
||||
https://${EGO_PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz
|
||||
https://files.holgersson.xyz/gentoo/distfiles/${P}-deps.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${COMMIT_ID}"
|
||||
else
|
||||
SRC_URI="
|
||||
https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://files.holgersson.xyz/gentoo/distfiles/${P}-deps.tar.xz
|
||||
"
|
||||
fi
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+encryption"
|
||||
|
||||
DEPEND="encryption? ( dev-libs/olm )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
# Flags -w, -s: Omit debugging information to reduce binary size,
|
||||
# see https://golang.org/cmd/link/.
|
||||
local mygobuildargs=(
|
||||
-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -s -w"
|
||||
-mod mod -v -work -x
|
||||
)
|
||||
|
||||
use encryption || export CGO_ENABLED=0
|
||||
go build "${mygobuildargs[@]}" . || die "go build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user