aboutsummaryrefslogblamecommitdiffstats
path: root/app-backup/lifeboat/lifeboat-0.3.0.ebuild
blob: 6fa292372aa08dc52d353ec1346e3e5311bd2a2a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                               



                                                                  

               


                                                                  
 
                 










                           

                                  





                                                

                                                         
 
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit systemd

DESCRIPTION="Manage and automate local restic(1) backups"
HOMEPAGE="https://git.oriole.systems/lifeboat"
SRC_URI="https://git.oriole.systems/lifeboat/snapshot/${P}.tar.gz"

RESTRICT="mirror"

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

DEPEND="
	acct-group/lifeboat
	acct-user/lifeboat"

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

src_compile() { :; }

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

	systemd_dounit etc/systemd/${PN}@.{service,timer}
}