wok-next annotate irssi-scripts/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d224c2b13c81
children
rev   line source
al@20863 1 # SliTaz package receipt v2.
julian@1151 2
julian@1151 3 PACKAGE="irssi-scripts"
al@20863 4 VERSION="latest"
julian@1151 5 CATEGORY="network"
julian@1151 6 SHORT_DESC="Perl scripts for Irssi IRC client"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15215 8 LICENSE="GPL2 BSD PublicDomain"
al@20863 9 WEB_SITE="https://scripts.irssi.org/"
julian@1151 10
al@20863 11 compile_rules() {
al@20863 12 mkdir -p $src
al@20863 13 cd $src
al@20863 14 wget https://github.com/irssi/scripts.irssi.org/archive/master.tar.gz
al@20863 15 tar -xf master.tar.gz || return 1
al@20863 16 rm master.tar.gz
al@20863 17 cd scripts.irssi.org-master
pascal@15215 18
al@20863 19 mkdir -p $install/usr/share/irssi/
al@20863 20 cp -r scripts/ $install/usr/share/irssi/
al@20863 21
al@20863 22 # 4 files have 755 mode, other 644
al@20863 23 find $install -type f -perm +111 -exec chmod 644 '{}' \;
julian@1151 24 }
julian@1151 25
al@20863 26 genpkg_rules() {
al@20863 27 # note, every file (excluding dirs which always new) has the same date,
al@20863 28 # just pick .gitignore file to check its date
al@20863 29 VERSION="$(date -u -r $src/scripts.irssi.org-master/.gitignore +%Y%m%d-%H%M)"
al@20863 30 copy @std
al@20863 31 DEPENDS="irssi"
al@20863 32 }