summaryrefslogtreecommitdiff
blob: e0ca2d8faa23502b63e9df1de113435e5e906ac2 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Perl script to create an HTML report of MP3 files in a directory"
HOMEPAGE="https://mp3report.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${PF}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	dev-lang/perl
	dev-perl/MP3-Info"

src_install() {
	newbin mp3report.pl mp3report

	insinto /usr/share/mp3report
	doins extended-template.html default-template.html

	dodoc documentation.* ChangeLog README TODO
	doman *.1
}

pkg_postinst() {
	elog "You can find templates in ${EROOT}/usr/share/mp3report"
}