wok view cortex/receipt @ rev 23385

updated perl-params-validate (1.21 -> 1.29)
author Hans-G?nter Theisgen
date Tue Mar 31 16:01:16 2020 +0100 (2020-03-31)
parents 6ee34149411d
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="cortex"
4 VERSION="0.5.1_02102016"
5 CATEGORY="utilities"
6 SHORT_DESC="An ncurses reddit browser and monitor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2"
10 WEB_SITE="http://cortex.glacicle.org/"
11 WGET_URL="git|git://github.com/GGLucas/cortex"
13 DEPENDS="py3k cacerts"
14 BUILD_DEPENDS="git bzip2"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/bin $fs/home/tux/.cortex
21 cp -a $src/$PACKAGE $fs/usr/bin
22 cp -a $src/config.example $fs/home/tux/.cortex/config
23 }
25 post_install()
26 {
27 chroot "$1/" chown -R tux.users "/home/tux/.cortex"
28 }
30 post_remove()
31 {
32 chroot "$1/" rm -r "/home/tux/.cortex"
33 }