aboutsummaryrefslogtreecommitdiffstats
path: root/app-backup/lifeboat/lifeboat-0.1.3.ebuild
blob: d09c16278f7b63959ecd3b08594bfea63a661c37 (plain) (blame)
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
28
29
30
31
32
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit git-r3 user

DESCRIPTION="Manage and automate local restic backups"
HOMEPAGE="https://oriole.systems"
EGIT_REPO_URI="https://git.oriole.systems/lifeboat.git"
EGIT_COMMIT="${PV}"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
		 app-backup/restic"
BDEPEND=""

pkg_setup() {
	enewgroup lifeboat
	enewuser lifeboat -1 /bin/sh /srv/backup/lifeboat lifeboat
}

src_compile() { :; }

src_install() {
	emake PREFIX=/usr DESTDIR="${D}" install
}