Annotation of /trunk/extras/publicsuffix-list/publicsuffix-list-20190102-r2.smage2
Parent Directory | Revision Log
Revision 31931 -
(hide annotations)
(download)
Wed Jan 2 14:38:14 2019 UTC (5 years, 5 months ago) by niro
File size: 777 byte(s)
Wed Jan 2 14:38:14 2019 UTC (5 years, 5 months ago) by niro
File size: 777 byte(s)
-fixed PCAT to a proper value
1 | niro | 31931 | # $Id$ |
2 | |||
3 | PNAME="publicsuffix-list" | ||
4 | PVER="20190102" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="net-misc" | ||
8 | |||
9 | DESCRIPTION="Cross-vendor public domain suffix database." | ||
10 | HOMEPAGE="https://github.com/publicsuffix/list" | ||
11 | |||
12 | DEPEND="" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude mtools | ||
18 | |||
19 | SRC_URI=( | ||
20 | mirror://${PNAME}/${SRCFILE} | ||
21 | ) | ||
22 | |||
23 | # fake, using git versions | ||
24 | UP2DATE="echo ${PVER}" | ||
25 | |||
26 | src_prepare() | ||
27 | { | ||
28 | munpack ${SRCFILE} || die | ||
29 | } | ||
30 | |||
31 | src_install() | ||
32 | { | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | minstalldir /usr/share/publicsuffix || die | ||
36 | minstallfile public_suffix_list.dat /usr/share/publicsuffix/ || die | ||
37 | minstallfile tests/test_psl.txt /usr/share/publicsuffix/ || die | ||
38 | mlink public_suffix_list.dat /usr/share/publicsuffix/effective_tld_names.dat || die | ||
39 | minstalldocs CONTRIBUTING* LICENSE README* || die | ||
40 | } |