blob: bea4ccb3b4aa9cfbdb9c152f74d3316913e329c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A little tool to send messages to an XMPP contact or MUC"
HOMEPAGE="https://salsa.debian.org/mdosch/go-sendxmpp"
SRC_URI="
https://salsa.debian.org/mdosch/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2
https://tastytea.de/files/gentoo/${P}-vendor.tar.xz
"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="BSD-2 BSD MIT MIT-with-advertising"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build -buildmode=pie
}
src_install() {
dobin go-sendxmpp
default
}
|