wok-current view cortex/receipt @ rev 20397

Up tklauncher (0.32)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 26 20:54:55 2018 +0200 (2018-06-26)
parents
children efa71a1392d4
line source
1 # SliTaz package receipt.
3 PACKAGE="cortex"
4 VERSION="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 }