summaryrefslogtreecommitdiff
blob: 2e1b95c1190f54c87f49979ac8bdcbc679db5226 (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
28
29
30
31
32
33
34
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/obs-service-source_validator/obs-service-source_validator-0.2-r2.ebuild,v 1.2 2013/03/18 11:39:34 miska Exp $

EAPI=5

inherit obs-service

# only one sanely packed service
SRC_URI="${OBS_URI}/${P}.tar.bz2"

KEYWORDS="amd64 x86"
IUSE=""

DEPEND="dev-perl/TimeDate"
RDEPEND="${DEPEND}"

src_unpack() {
	default
}

src_install() {
	# different folder and files in this module
	exeinto /usr/lib/obs/service
	doexe ${OBS_SERVICE_NAME}

	insinto /usr/lib/obs/service
	doins ${OBS_SERVICE_NAME}.service

	exeinto /usr/lib/obs/service/${OBS_SERVICE_NAME}s
	doexe [0-9]*
	exeinto /usr/lib/obs/service/${OBS_SERVICE_NAME}s/helpers/
	doexe helpers/*
}