wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="irssi-scripts"
4 VERSION="latest"
5 CATEGORY="network"
6 SHORT_DESC="Perl scripts for Irssi IRC client"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 BSD PublicDomain"
9 WEB_SITE="https://scripts.irssi.org/"
11 compile_rules() {
12 mkdir -p $src
13 cd $src
14 wget https://github.com/irssi/scripts.irssi.org/archive/master.tar.gz
15 tar -xf master.tar.gz || return 1
16 rm master.tar.gz
17 cd scripts.irssi.org-master
19 mkdir -p $install/usr/share/irssi/
20 cp -r scripts/ $install/usr/share/irssi/
22 # 4 files have 755 mode, other 644
23 find $install -type f -perm +111 -exec chmod 644 '{}' \;
24 }
26 genpkg_rules() {
27 # note, every file (excluding dirs which always new) has the same date,
28 # just pick .gitignore file to check its date
29 VERSION="$(date -u -r $src/scripts.irssi.org-master/.gitignore +%Y%m%d-%H%M)"
30 copy @std
31 DEPENDS="irssi"
32 }