summaryrefslogtreecommitdiff
path: root/app-arch/aptly/aptly-1.5.0.ebuild
blob: 831d99b1b2f32b2b0f7e93dc6afeec1ff3b9933d (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
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit go-module systemd

DESCRIPTION="Debian repository management tool"
HOMEPAGE="https://www.aptly.info/"

SRC_URI="https://github.com/aptly-dev/aptly/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"

LICENSE="MIT Apache-2.0 BSD BSD-2 ISC MPL-2.0 WTFPL-2 ZLIB"
RESTRICT+=" test"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	emake install
}

src_install() {
	dobin ~/go/bin/aptly
	dodoc README.rst
	systemd_dounit aptly.service aptly-api.service
}