wok-next view publicsuffix-list/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="publicsuffix-list"
4 VERSION="latest"
5 CATEGORY="network"
6 SHORT_DESC="Public Suffix List"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MPL2"
9 WEB_SITE="https://publicsuffix.org/"
11 compile_rules() {
12 mkdir -p $src
13 cd $src
14 wget https://github.com/publicsuffix/list/archive/master.tar.gz
15 tar -xf master.tar.gz || return 1
16 cd list-master
18 mkdir -p $install/usr/share/publicsuffix/
19 cp public_suffix_list.dat tests/test_psl.txt \
20 $install/usr/share/publicsuffix/
21 ln -s public_suffix_list.dat \
22 $install/usr/share/publicsuffix/effective_tld_names.dat
24 cook_pick_docs README.md
25 }
27 genpkg_rules() {
28 VERSION="$(date -u -r $src/list-master/public_suffix_list.dat +%Y%m%d-%H%M)"
29 copy @std
30 }