blob: fd43651243f08d1f93c8203b8b9757b11c3e6bb4 (
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-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
# We need a stable list, so even though the offical site specifically
# says not to pull it from VCS because it may break, the only other option
# is to store snapshots of the list somewhere and pull that
COMMIT="f540a06159213b6e8ed9c87d2dd3a52373637e92"
DESCRIPTION="The Public Suffix List"
HOMEPAGE="https://publicsuffix.org"
SRC_URI="https://github.com/publicsuffix/list/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/list-${COMMIT}"
LICENSE="MPL-2.0"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
# Can't run the tests without libpsl, and its useless to us anyway
RESTRICT="test"
# Portage does not empty functions, so fake it
src_compile() {
# Skip the Makefile
true
}
src_install() {
insinto /usr/share/publicsuffix
doins public_suffix_list.dat
}
|