Lines 3-10
Link Here
|
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
|
5 |
|
|
|
6 |
inherit go-module |
7 |
|
8 |
DESCRIPTION="Email client for your terminal" |
9 |
HOMEPAGE="https://aerc-mail.org" |
10 |
|
6 |
# go list -m all | magic |
11 |
# go list -m all | magic |
7 |
EGO_PN="git.sr.ht/~sircmpwn/aerc" |
|
|
8 |
EGO_VENDOR=( |
12 |
EGO_VENDOR=( |
9 |
"git.sr.ht/~sircmpwn/getopt 292febf82fd0 git.sr.ht/~sircmpwn/getopt" |
13 |
"git.sr.ht/~sircmpwn/getopt 292febf82fd0 git.sr.ht/~sircmpwn/getopt" |
10 |
"git.sr.ht/~sircmpwn/pty 3a43678975a9 git.sr.ht/~sircmpwn/pty" |
14 |
"git.sr.ht/~sircmpwn/pty 3a43678975a9 git.sr.ht/~sircmpwn/pty" |
Lines 44-81
EGO_VENDOR=(
Link Here
|
44 |
"google.golang.org/appengine v1.6.1 github.com/golang/appengine" |
48 |
"google.golang.org/appengine v1.6.1 github.com/golang/appengine" |
45 |
) |
49 |
) |
46 |
|
50 |
|
47 |
inherit golang-vcs-snapshot |
|
|
48 |
|
49 |
DESCRIPTION="Email client for your terminal" |
50 |
HOMEPAGE="https://aerc-mail.org" |
51 |
SRC_URI="https://git.sr.ht/~sircmpwn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz |
51 |
SRC_URI="https://git.sr.ht/~sircmpwn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz |
52 |
${EGO_VENDOR_URI}" |
52 |
$(go-module_vendor_uris)" |
53 |
|
53 |
|
54 |
LICENSE="Apache-2.0 BSD BSD-2 MIT" |
54 |
LICENSE="Apache-2.0 BSD BSD-2 MIT" |
55 |
SLOT="0" |
55 |
SLOT="0" |
56 |
KEYWORDS="~amd64 ~ppc64" |
56 |
KEYWORDS="~amd64 ~ppc64" |
57 |
IUSE="" |
|
|
58 |
|
57 |
|
59 |
RDEPEND=" |
58 |
RDEPEND=" |
60 |
net-proxy/dante |
59 |
net-proxy/dante |
61 |
www-client/w3m |
60 |
www-client/w3m |
62 |
" |
61 |
" |
63 |
|
62 |
|
64 |
BDEPEND=" |
63 |
BDEPEND=">=app-text/scdoc-1.9.7" |
65 |
>=app-text/scdoc-1.9.7 |
|
|
66 |
>=dev-lang/go-1.12 |
67 |
" |
68 |
|
69 |
src_prepare() { |
70 |
# needed to workaround go's assumptions about modules, GOPATH and dir sctructure |
71 |
mv -v "src/${EGO_PN}"/* ./ || die |
72 |
rm -rv src || die |
73 |
|
74 |
eapply_user |
75 |
} |
76 |
|
64 |
|
77 |
src_compile() { |
65 |
src_compile() { |
78 |
GOFLAGS="-mod=vendor -v -work -x" emake PREFIX="${EPREFIX}/usr" |
66 |
emake PREFIX="${EPREFIX}/usr" |
79 |
} |
67 |
} |
80 |
|
68 |
|
81 |
src_install() { |
69 |
src_install() { |
82 |
- |
|
|